HomeSort by relevance Sort by last modified time
    Searched refs:NumberFormatException (Results 1 - 25 of 631) 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 {
137 private static NumberFormatException invalidInt(String s) {
138 throw new NumberFormatException("Invalid int: \"" + s + "\"");
152 * @throws NumberFormatException
155 public static Integer decode(String string) throws NumberFormatException {
240 } catch (NumberFormatException ex) {
269 } catch (NumberFormatException ex) {
298 } catch (NumberFormatException ex) {
330 * @throws NumberFormatException
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
NumberFormatExceptionTest.java 25 * java.lang.NumberFormatException#NumberFormatException()
28 NumberFormatException e = new NumberFormatException();
35 * 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/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...]
  /libcore/luni/src/test/java/libcore/java/lang/
IntegerTest.java 67 } catch (NumberFormatException expected) {}
72 } catch (NumberFormatException expected) {}
77 } catch (NumberFormatException expected) {}
94 } catch (NumberFormatException expected) {}
99 } catch (NumberFormatException expected) {}
104 } catch (NumberFormatException expected) {}
109 } catch (NumberFormatException expected) {}
120 } catch (NumberFormatException e) {}
125 } catch (NumberFormatException e) {}
130 } 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) {
136 } catch (NumberFormatException expected) {
142 } catch (NumberFormatException expected) {
LongTest.java 68 } catch (NumberFormatException e) {}
73 } catch (NumberFormatException e) {}
78 } catch (NumberFormatException e) {}
94 } catch (NumberFormatException expected) {}
99 } catch (NumberFormatException expected) {}
104 } catch (NumberFormatException expected) {}
121 } catch (NumberFormatException expected) {}
126 } catch (NumberFormatException expected) {}
131 } catch (NumberFormatException expected) {}
136 } catch (NumberFormatException expected) {
    [all...]
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) {
  /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...]
  /frameworks/base/core/java/android/util/
Size.java 89 private static NumberFormatException invalidSize(String s) {
90 throw new NumberFormatException("Invalid Size: \"" + s + "\"");
112 * Size.parseSize("4 by 3") => throws NumberFormatException
118 * @throws NumberFormatException if {@code string} cannot be parsed
123 throws NumberFormatException {
136 } catch (NumberFormatException e) {
SizeF.java 99 private static NumberFormatException invalidSizeF(String s) {
100 throw new NumberFormatException("Invalid SizeF: \"" + s + "\"");
123 * SizeF.parseSizeF("4 by 3") => throws NumberFormatException
129 * @throws NumberFormatException if {@code string} cannot be parsed
134 throws NumberFormatException {
147 } catch (NumberFormatException e) {
  /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) {

Completed in 377 milliseconds

1 2 3 4 5 6 7 8 91011>>