OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:numberformatexception
(Results
1 - 25
of
2150
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/testng/src/test/java/test/expectedexceptions/
SampleExceptions2.java
12
@Test(expectedExceptions =
NumberFormatException
.class )
14
throw new
NumberFormatException
();
17
@Test(expectedExceptions =
NumberFormatException
.class)
22
@Test(expectedExceptions =
NumberFormatException
.class)
26
@Test(expectedExceptions =
NumberFormatException
.class,
29
throw new
NumberFormatException
("This should not bomb at all");
32
@Test(expectedExceptions =
NumberFormatException
.class,
35
throw new
NumberFormatException
("This should bomb for good");
38
@Test(expectedExceptions =
NumberFormatException
.class, expectedExceptionsMessageRegExp = ".*")
40
throw new
NumberFormatException
(null)
[
all
...]
SampleExceptions.java
14
@ExpectedExceptions({
NumberFormatException
.class} )
16
throw new
NumberFormatException
();
20
@ExpectedExceptions({
NumberFormatException
.class} )
26
@ExpectedExceptions({
NumberFormatException
.class} )
34
// @Test(expectedExceptions =
NumberFormatException
.class)
/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");
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
...]
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
...]
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
...]
LongTest.java
99
} catch (
NumberFormatException
e) {
108
} catch (
NumberFormatException
e) {
117
} catch (
NumberFormatException
e) {
126
} catch (
NumberFormatException
e) {
135
} catch (
NumberFormatException
e) {
144
} catch (
NumberFormatException
e) {
214
} catch (
NumberFormatException
e) {
223
} catch (
NumberFormatException
e) {
260
} catch (
NumberFormatException
e) {
270
} catch (
NumberFormatException
e)
[
all
...]
/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/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) {
/libcore/ojluni/src/main/java/java/lang/
NumberFormatException.java
38
class
NumberFormatException
extends IllegalArgumentException {
42
* Constructs a <code>
NumberFormatException
</code> with no detail message.
44
public
NumberFormatException
() {
49
* Constructs a <code>
NumberFormatException
</code> with the
54
public
NumberFormatException
(String s) {
59
* Factory method for making a <code>
NumberFormatException
</code>
64
static
NumberFormatException
forInputString(String s) {
65
return new
NumberFormatException
("For input string: \"" + s + "\"");
/art/test/542-inline-trycatch/src/
Main.java
25
private static int $inline$SingleBlock(String str) throws
NumberFormatException
{
32
throws
NumberFormatException
{
42
} catch (
NumberFormatException
ex) {
52
} catch (
NumberFormatException
ex) {
60
} catch (
NumberFormatException
ex) {}
79
} catch (
NumberFormatException
ex) {
86
} catch (
NumberFormatException
ex) {
94
} catch (
NumberFormatException
ex) {}
99
} catch (
NumberFormatException
ex) {}
125
} catch (
NumberFormatException
ex)
[
all
...]
/external/testng/src/test/java/test/sample/
Sample1.java
51
@ExpectedExceptions( {
NumberFormatException
.class, ArithmeticException.class})
53
throw new
NumberFormatException
();
57
@ExpectedExceptions( {
NumberFormatException
.class, ArithmeticException.class})
64
throw new
NumberFormatException
();
/external/testng/src/test/java/test/reports/
EmailableReportDriver.java
27
@Test(expectedExceptions={
NumberFormatException
.class})
33
@Test(expectedExceptions={
NumberFormatException
.class})
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
UnsignedIntsTest.java
147
} catch (
NumberFormatException
e) {
153
fail("Expected
NumberFormatException
");
154
} catch (
NumberFormatException
expected) {}
157
public void testParseIntWithRadix() throws
NumberFormatException
{
176
} catch (
NumberFormatException
expected) {}
186
} catch (
NumberFormatException
expected) {}
191
} catch (
NumberFormatException
expected) {}
197
} catch (
NumberFormatException
expected) {}
215
} catch (
NumberFormatException
expected) {
221
} catch (
NumberFormatException
expected)
[
all
...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
BigDecimalConstructorsTest.java
142
fail("
NumberFormatException
has not been thrown");
143
} catch (
NumberFormatException
e) {
163
fail("
NumberFormatException
has not been thrown");
164
} catch (
NumberFormatException
e) {
187
fail("
NumberFormatException
has not been thrown");
188
} catch (
NumberFormatException
e) {
204
fail("
NumberFormatException
has not been thrown");
205
} catch (
NumberFormatException
e) {
221
fail("
NumberFormatException
has not been thrown");
222
} catch (
NumberFormatException
e)
[
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
...]
/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) {}
121
} catch (
NumberFormatException
e) {}
126
} catch (
NumberFormatException
e) {}
131
} catch (
NumberFormatException
e) {
[
all
...]
LongTest.java
69
} catch (
NumberFormatException
e) {}
74
} catch (
NumberFormatException
e) {}
79
} catch (
NumberFormatException
e) {}
96
} catch (
NumberFormatException
expected) {}
101
} catch (
NumberFormatException
expected) {}
106
} catch (
NumberFormatException
expected) {}
123
} catch (
NumberFormatException
expected) {}
128
} catch (
NumberFormatException
expected) {}
133
} catch (
NumberFormatException
expected) {}
138
} catch (
NumberFormatException
expected) {
[
all
...]
OldFloatTest.java
26
fail("
NumberFormatException
is not thrown.");
27
} catch(
NumberFormatException
nfe) {
43
fail("
NumberFormatException
is not thrown for string: "
45
} catch(
NumberFormatException
nfe) {
/external/guava/guava-tests/test/com/google/common/primitives/
UnsignedIntsTest.java
164
} catch (
NumberFormatException
e) {
170
fail("Expected
NumberFormatException
");
171
} catch (
NumberFormatException
expected) {}
174
public void testParseIntWithRadix() throws
NumberFormatException
{
193
} catch (
NumberFormatException
expected) {}
203
} catch (
NumberFormatException
expected) {}
208
} catch (
NumberFormatException
expected) {}
214
} catch (
NumberFormatException
expected) {}
232
} catch (
NumberFormatException
expected) {
238
} catch (
NumberFormatException
expected)
[
all
...]
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
IntentFilterAuthorityEntryTest.java
13
@Test(expected =
NumberFormatException
.class)
Completed in 368 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>