HomeSort by relevance Sort by last modified time
    Searched refs:NumberFormatException (Results 1 - 25 of 524) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /libcore/luni/src/main/java/java/lang/
NumberFormatException.java 24 public class NumberFormatException extends IllegalArgumentException {
29 * Constructs a new {@code NumberFormatException} that includes the current
32 public NumberFormatException() {
36 * Constructs a new {@code NumberFormatException} with the current stack
42 public NumberFormatException(String detailMessage) {
Byte.java 77 * @throws NumberFormatException
81 public Byte(String string) throws NumberFormatException {
130 * @throws NumberFormatException
133 public static Byte decode(String string) throws NumberFormatException {
139 throw new NumberFormatException("Value out of range for byte: \"" + string + "\"");
190 * @throws NumberFormatException
193 public static byte parseByte(String string) throws NumberFormatException {
207 * @throws NumberFormatException
212 public static byte parseByte(String string, int radix) throws NumberFormatException {
218 throw new NumberFormatException("Value out of range for byte: \"" + string + "\"")
    [all...]
Short.java 69 * @throws NumberFormatException
73 public Short(String string) throws NumberFormatException {
130 * @throws NumberFormatException
133 public static Short decode(String string) throws NumberFormatException {
139 throw new NumberFormatException("Value out of range for short: \"" + string + "\"");
189 * @throws NumberFormatException
192 public static short parseShort(String string) throws NumberFormatException {
206 * @throws NumberFormatException
211 public static short parseShort(String string, int radix) throws NumberFormatException {
217 throw new NumberFormatException("Value out of range for short: \"" + string + "\"")
    [all...]
Integer.java 97 * @throws NumberFormatException
101 public Integer(String string) throws NumberFormatException {
136 private static NumberFormatException invalidInt(String s) {
137 throw new NumberFormatException("Invalid int: \"" + s + "\"");
150 * @throws NumberFormatException
153 public static Integer decode(String string) throws NumberFormatException {
237 } catch (NumberFormatException ex) {
266 } catch (NumberFormatException ex) {
295 } catch (NumberFormatException ex) {
327 * @throws NumberFormatException
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
NumberFormatExceptionTest.java 25 * @tests java.lang.NumberFormatException#NumberFormatException()
28 NumberFormatException e = new NumberFormatException();
35 * @tests java.lang.NumberFormatException#NumberFormatException(java.lang.String)
38 NumberFormatException e = new NumberFormatException("fixture");
ShortTest.java 85 } catch (NumberFormatException e) {
89 assertTrue("Did not throw NumberFormatException decoding 123s",
95 } catch (NumberFormatException e) {
104 } catch (NumberFormatException e) {
113 } catch (NumberFormatException e) {
122 } catch (NumberFormatException e) {
148 } catch (NumberFormatException e) {
157 } catch (NumberFormatException e) {
200 } catch (NumberFormatException e) {
212 } catch (NumberFormatException e)
    [all...]
ByteTest.java 59 fail("Expected NumberFormatException with hex string.");
60 } catch (NumberFormatException e) {
65 fail("Expected NumberFormatException with floating point string.");
66 } catch (NumberFormatException e) {
71 fail("Expected NumberFormatException with empty string.");
72 } catch (NumberFormatException e) {
77 fail("Expected NumberFormatException with null string.");
78 } catch (NumberFormatException e) {
146 fail("Expected NumberFormatException with hex string.");
147 } catch (NumberFormatException e)
    [all...]
IntegerTest.java 97 } catch (NumberFormatException e) {
101 assertTrue("Failed to throw NumberFormatException for \"Oa\"",
107 } catch (NumberFormatException e) {
116 } catch (NumberFormatException e) {
125 } catch (NumberFormatException e) {
134 } catch (NumberFormatException e) {
143 } catch (NumberFormatException e) {
152 } catch (NumberFormatException e) {
159 } catch (NumberFormatException e) {
166 } catch (NumberFormatException e)
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/
OldAndroidParseIntTest.java 38 } catch (NumberFormatException e) {
45 } catch (NumberFormatException e) {
53 } catch (NumberFormatException e) {
60 } catch (NumberFormatException e) {
67 } catch (NumberFormatException e) {
74 } catch (NumberFormatException e) {
81 } catch (NumberFormatException e) {
88 } catch (NumberFormatException e) {
95 } catch (NumberFormatException e) {
102 } catch (NumberFormatException e)
    [all...]
DoubleTest.java 40 } catch (NumberFormatException expected) {
45 } catch (NumberFormatException expected) {
54 } catch (NumberFormatException expected) {
59 } catch (NumberFormatException expected) {
69 } catch (NumberFormatException expected) {
94 } catch (NumberFormatException expected) {
FloatTest.java 42 } catch (NumberFormatException expected) {
47 } catch (NumberFormatException expected) {
56 } catch (NumberFormatException expected) {
61 } catch (NumberFormatException expected) {
71 } catch (NumberFormatException expected) {
94 } catch (NumberFormatException expected) {
  /libcore/luni/src/test/java/libcore/java/math/
OldBigIntegerConstructorsTest.java 67 fail("NumberFormatException has not been caught");
68 } catch (NumberFormatException e) {
78 fail("NumberFormatException has not been caught");
79 } catch (NumberFormatException e) {
89 fail("NumberFormatException has not been caught");
90 } catch (NumberFormatException e) {
100 fail("NumberFormatException has not been caught");
101 } catch (NumberFormatException e) {
  /external/smali/smali/src/main/java/org/jf/smali/
LiteralTools.java 37 throws NumberFormatException {
39 throw new NumberFormatException("string is null");
42 throw new NumberFormatException("string is blank");
80 throw new NumberFormatException("The string contains invalid an digit - '" + byteChars[position] + "'");
84 throw new NumberFormatException(byteLiteral + " cannot fit into a byte");
87 throw new NumberFormatException(byteLiteral + " cannot fit into a byte");
98 throw new NumberFormatException(byteLiteral + " cannot fit into a byte");
107 throws NumberFormatException {
109 throw new NumberFormatException("string is null");
112 throw new NumberFormatException("string is blank")
    [all...]
  /external/smali/smali/src/test/java/
IntLiteralTest.java 53 @Test(expected=NumberFormatException.class)
58 @Test(expected=NumberFormatException.class)
63 @Test(expected=NumberFormatException.class)
87 @Test(expected=NumberFormatException.class)
92 @Test(expected=NumberFormatException.class)
97 @Test(expected=NumberFormatException.class)
102 @Test(expected=NumberFormatException.class)
107 @Test(expected=NumberFormatException.class)
130 @Test(expected=NumberFormatException.class)
135 @Test(expected=NumberFormatException.class
    [all...]
ByteLiteralTest.java 54 @Test(expected=NumberFormatException.class)
59 @Test(expected=NumberFormatException.class)
64 @Test(expected=NumberFormatException.class)
88 @Test(expected=NumberFormatException.class)
93 @Test(expected=NumberFormatException.class)
98 @Test(expected=NumberFormatException.class)
103 @Test(expected=NumberFormatException.class)
126 @Test(expected=NumberFormatException.class)
131 @Test(expected=NumberFormatException.class)
136 @Test(expected=NumberFormatException.class
    [all...]
LongLiteralTest.java 52 @Test(expected=NumberFormatException.class)
57 @Test(expected=NumberFormatException.class)
62 @Test(expected=NumberFormatException.class)
83 @Test(expected=NumberFormatException.class)
88 @Test(expected=NumberFormatException.class)
93 @Test(expected=NumberFormatException.class)
98 @Test(expected=NumberFormatException.class)
119 @Test(expected=NumberFormatException.class)
124 @Test(expected=NumberFormatException.class)
129 @Test(expected=NumberFormatException.class
    [all...]
ShortLiteralTest.java 54 @Test(expected=NumberFormatException.class)
59 @Test(expected=NumberFormatException.class)
64 @Test(expected=NumberFormatException.class)
88 @Test(expected=NumberFormatException.class)
93 @Test(expected=NumberFormatException.class)
98 @Test(expected=NumberFormatException.class)
103 @Test(expected=NumberFormatException.class)
126 @Test(expected=NumberFormatException.class)
131 @Test(expected=NumberFormatException.class)
136 @Test(expected=NumberFormatException.class
    [all...]
  /frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
BluetoothTestRunner.java 90 } catch (NumberFormatException e) {
99 } catch (NumberFormatException e) {
108 } catch (NumberFormatException e) {
117 } catch (NumberFormatException e) {
126 } catch (NumberFormatException e) {
135 } catch (NumberFormatException e) {
144 } catch (NumberFormatException e) {
153 } catch (NumberFormatException e) {
162 } catch (NumberFormatException e) {
171 } catch (NumberFormatException e)
    [all...]
  /external/smack/src/org/xbill/DNS/
TTL.java 34 * @throws NumberFormatException The string was not in a valid TTL format.
39 throw new NumberFormatException();
48 throw new NumberFormatException();
56 default: throw new NumberFormatException();
61 throw new NumberFormatException();
68 throw new NumberFormatException();
79 * @throws NumberFormatException The string was not in a valid TTL format.
  /external/apache-xml/src/main/java/org/apache/xalan/
Version.src 149 } catch (NumberFormatException nfe) {
Version.java 149 } catch (NumberFormatException nfe) {
  /external/apache-xml/src/main/java/org/apache/xml/serializer/
Version.java 146 } catch (NumberFormatException nfe) {
  /external/jmonkeyengine/engine/src/core/com/jme3/util/xml/
SAXUtil.java 60 } catch (NumberFormatException ex){
72 } catch (NumberFormatException ex){
84 } catch (NumberFormatException ex){
96 } catch (NumberFormatException ex){
  /external/jsilver/src/com/google/clearsilver/jsilver/data/
TypeConverter.java 73 * @throws NumberFormatException is the string is badly formatted
75 public static int parseNumber(String value) throws NumberFormatException {
102 } catch (NumberFormatException e) {
138 } catch (NumberFormatException e) {
  /packages/apps/Mms/src/com/android/mms/dom/smil/
SmilRegionElementImpl.java 79 } catch (NumberFormatException _) {
89 } catch (NumberFormatException _) {
100 } catch (NumberFormatException _) {
110 } catch (NumberFormatException _) {
121 } catch (NumberFormatException _) {
163 } catch (NumberFormatException _) {
171 } catch (NumberFormatException _) {
178 } catch (NumberFormatException _) {
196 } catch (NumberFormatException _) {
204 } catch (NumberFormatException _)
    [all...]

Completed in 6120 milliseconds

1 2 3 4 5 6 7 8 91011>>