HomeSort by relevance Sort by last modified time
    Searched full:illegalargumentexception (Results 1 - 25 of 10592) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
TestUScriptRun.java 110 errln("new UScriptRun(nullString, 0, 100) did not produce an IllegalArgumentException!");
111 } catch (IllegalArgumentException iae) {
117 errln("new UScriptRun(nullString, 100, 0) did not produce an IllegalArgumentException!");
118 } catch (IllegalArgumentException iae) {
124 errln("new UScriptRun(nullString, 0, -100) did not produce an IllegalArgumentException!");
125 } catch (IllegalArgumentException iae) {
131 errln("new UScriptRun(nullString, -100, 0) did not produce an IllegalArgumentException!");
132 } catch (IllegalArgumentException iae) {
138 errln("new UScriptRun(nullChars, 0, 100) did not produce an IllegalArgumentException!");
139 } catch (IllegalArgumentException iae)
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
TestUScriptRun.java 107 errln("new UScriptRun(nullString, 0, 100) did not produce an IllegalArgumentException!");
108 } catch (IllegalArgumentException iae) {
114 errln("new UScriptRun(nullString, 100, 0) did not produce an IllegalArgumentException!");
115 } catch (IllegalArgumentException iae) {
121 errln("new UScriptRun(nullString, 0, -100) did not produce an IllegalArgumentException!");
122 } catch (IllegalArgumentException iae) {
128 errln("new UScriptRun(nullString, -100, 0) did not produce an IllegalArgumentException!");
129 } catch (IllegalArgumentException iae) {
135 errln("new UScriptRun(nullChars, 0, 100) did not produce an IllegalArgumentException!");
136 } catch (IllegalArgumentException iae)
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
IllegalArgumentExceptionTest.java 27 * java.lang.IllegalArgumentException#IllegalArgumentException()
30 IllegalArgumentException e = new IllegalArgumentException();
37 * java.lang.IllegalArgumentException#IllegalArgumentException(java.lang.String)
40 IllegalArgumentException e = new IllegalArgumentException("fixture");
46 * {@link java.lang.IllegalArgumentException#IllegalArgumentException(Throwable)
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
ArrayTest.java 46 try { Array.getBoolean(bytes, 0); fail(); } catch (IllegalArgumentException expected) {}
47 try { Array.getBoolean(chars, 0); fail(); } catch (IllegalArgumentException expected) {}
48 try { Array.getBoolean(doubles, 0); fail(); } catch (IllegalArgumentException expected) {}
49 try { Array.getBoolean(floats, 0); fail(); } catch (IllegalArgumentException expected) {}
50 try { Array.getBoolean(ints, 0); fail(); } catch (IllegalArgumentException expected) {}
51 try { Array.getBoolean(longs, 0); fail(); } catch (IllegalArgumentException expected) {}
52 try { Array.getBoolean(shorts, 0); fail(); } catch (IllegalArgumentException expected) {}
57 try { Array.getByte(booleans, 0); fail(); } catch (IllegalArgumentException expected) {}
59 try { Array.getByte(chars, 0); fail(); } catch (IllegalArgumentException expected) {}
60 try { Array.getByte(doubles, 0); fail(); } catch (IllegalArgumentException expected) {
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timescale/
TimeScaleAPITest.java 45 errln("bigDecimalFrom(bigZero, -1) did not throw IllegalArgumentException.");
46 } catch (IllegalArgumentException iae) {
53 } catch (IllegalArgumentException iae) {
54 errln("bigDecimalFrom(bigZero, " + scale + ") threw IllegalArgumentException.");
61 } catch (IllegalArgumentException iae) {
71 errln("bigDecimalFrom(0.0, -1) did not throw IllegalArgumentException.");
72 } catch (IllegalArgumentException iae) {
79 } catch (IllegalArgumentException iae) {
80 errln("bigDecimalFrom(0.0, " + scale + ") threw IllegalArgumentException.");
87 } catch (IllegalArgumentException iae)
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timescale/
TimeScaleAPITest.java 42 errln("bigDecimalFrom(bigZero, -1) did not throw IllegalArgumentException.");
43 } catch (IllegalArgumentException iae) {
50 } catch (IllegalArgumentException iae) {
51 errln("bigDecimalFrom(bigZero, " + scale + ") threw IllegalArgumentException.");
58 } catch (IllegalArgumentException iae) {
68 errln("bigDecimalFrom(0.0, -1) did not throw IllegalArgumentException.");
69 } catch (IllegalArgumentException iae) {
76 } catch (IllegalArgumentException iae) {
77 errln("bigDecimalFrom(0.0, " + scale + ") threw IllegalArgumentException.");
84 } catch (IllegalArgumentException iae)
    [all...]
  /libcore/luni/src/test/java/libcore/java/io/
OldObjectInputStreamGetFieldTest.java 104 fail("IllegalArgumentException expected.");
105 } catch (IllegalArgumentException e) {}
129 fail("IllegalArgumentException expected for not existing name " +
131 } catch (IllegalArgumentException e) {}
135 fail("IllegalArgumentException expected for not existing name " +
137 } catch (IllegalArgumentException e) {}
141 fail("IllegalArgumentException expected for not existing name " +
143 } catch (IllegalArgumentException e) {}
147 fail("IllegalArgumentException expected for not existing name " +
149 } catch (IllegalArgumentException e) {
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
ECPublicKeyParameters.java 23 throw new IllegalArgumentException("point has null value");
28 throw new IllegalArgumentException("point at infinity");
35 throw new IllegalArgumentException("point not on curve");
  /external/guava/guava-tests/test/com/google/common/math/
MathPreconditionsTest.java 37 } catch (IllegalArgumentException expected) {}
48 } catch (IllegalArgumentException expected) {}
59 } catch (IllegalArgumentException expected) {}
66 } catch (IllegalArgumentException expected) {}
77 } catch (IllegalArgumentException expected) {}
88 } catch (IllegalArgumentException expected) {}
95 } catch (IllegalArgumentException expected) {}
106 } catch (IllegalArgumentException expected) {}
121 } catch (IllegalArgumentException expected) {}
132 } catch (IllegalArgumentException expected) {
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
DerivationFunction.java 11 throws DataLengthException, IllegalArgumentException;
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
X509TrustManagerTest.java 36 fail("IllegalArgumentException wasn't thrown");
37 } catch (IllegalArgumentException expected) {
43 fail("IllegalArgumentException wasn't thrown");
44 } catch (IllegalArgumentException expected) {
50 fail("IllegalArgumentException wasn't thrown");
51 } catch (IllegalArgumentException expected) {
56 fail("IllegalArgumentException wasn't thrown");
57 } catch (IllegalArgumentException expected) {
93 fail("IllegalArgumentException wasn't thrown");
94 } catch (IllegalArgumentException expected)
    [all...]
  /frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/
ScanSettingsTest.java 39 fail("should have thrown IllegalArgumentException!");
40 } catch (IllegalArgumentException e) {
48 fail("should have thrown IllegalArgumentException!");
49 } catch (IllegalArgumentException e) {
58 fail("should have thrown IllegalArgumentException!");
59 } catch (IllegalArgumentException e) {
  /tools/tradefederation/core/tests/src/com/android/tradefed/util/
QuotationAwareTokenizerTest.java 29 throws IllegalArgumentException {
47 private static void verify(String input, String[] expected) throws IllegalArgumentException {
54 public void testTokenizeLine_simple() throws IllegalArgumentException {
60 public void testCombineTokens_simple() throws IllegalArgumentException {
67 public void testTokenizeLine_whitespace() throws IllegalArgumentException {
76 public void testTokenizeLine_comma() throws IllegalArgumentException {
85 public void testTokenizeLine_commaAndQuote() throws IllegalArgumentException {
94 public void testTokenizeLine_commaAndWhitespace() throws IllegalArgumentException {
103 public void testCombineTokens_whitespace() throws IllegalArgumentException {
111 public void testTokenizeLine_escapedQuotation() throws IllegalArgumentException {
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
GCMParameterSpecTest.java 35 fail("Should throw IllegalArgumentException");
36 } catch (IllegalArgumentException expected) {
43 fail("Should throw IllegalArgumentException");
44 } catch (IllegalArgumentException expected) {
55 fail("Should throw IllegalArgumentException");
56 } catch (IllegalArgumentException expected) {
63 fail("Should throw IllegalArgumentException");
64 } catch (IllegalArgumentException expected) {
71 fail("Should throw IllegalArgumentException");
72 } catch (IllegalArgumentException expected)
    [all...]
  /packages/apps/SecureElement/src/com/android/se/
CommandApduValidator.java 23 * Validates APDU command format and throw IllegalArgumentException, if anything is wrong.
51 * @throws IllegalArgumentException If the command does not follow the APDU command format.
53 public static void execute(byte[] apdu) throws IllegalArgumentException {
55 throw new IllegalArgumentException("Invalid length for command (" + apdu.length + ").");
78 throw new IllegalArgumentException("Unexpected value of Lc (" + lc + ")");
88 throw new IllegalArgumentException("Unexpected value of Lc or Le" + apdu.length);
93 throw new IllegalArgumentException("Lc can't be 0");
106 throw new IllegalArgumentException("Unexpected value of Lc (" + lc + ")");
109 private static void checkCla(byte cla) throws IllegalArgumentException {
111 throw new IllegalArgumentException(
    [all...]
  /external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/ui/
PositionMetric.java 37 * Throws IllegalArgumentException if there is a problem.
40 * @throws IllegalArgumentException
42 protected static void validateValue(float value, LayoutMode layoutMode) throws IllegalArgumentException {
48 throw new IllegalArgumentException("Relative layout values must be within the range of -1 to 1.");
52 throw new IllegalArgumentException("Unknown LayoutMode: " + layoutMode);
66 throw new IllegalArgumentException("Unsupported Origin: " + origin);
81 throw new IllegalArgumentException("Unsupported Origin: " + origin);
  /external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
TimeTest.java 131 fail("Should throw IllegalArgumentException");
132 } catch (IllegalArgumentException e) {
156 fail("Should throw IllegalArgumentException.");
157 } catch (IllegalArgumentException e) {
168 fail("Should throw IllegalArgumentException.");
169 } catch (IllegalArgumentException e) {
180 fail("Should throw IllegalArgumentException.");
181 } catch (IllegalArgumentException e) {
192 fail("Should throw IllegalArgumentException.");
193 } catch (IllegalArgumentException e)
    [all...]
  /external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/dependency/
LocalDependencyResolver.java 38 * @throws IllegalArgumentException if validation fails
40 private static File validateFile(File file) throws IllegalArgumentException {
42 throw new IllegalArgumentException("Path is not a file: " + file);
45 throw new IllegalArgumentException("Unable to read file: " + file);
55 throw new IllegalArgumentException(
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DozeParametersTest.java 106 fail("Expected IllegalArgumentException");
107 } catch (IllegalArgumentException e) {
116 fail("Expected IllegalArgumentException");
117 } catch (IllegalArgumentException e) {
126 fail("Expected IllegalArgumentException");
127 } catch (IllegalArgumentException e) {
136 fail("Expected IllegalArgumentException");
137 } catch (IllegalArgumentException e) {
146 fail("Expected IllegalArgumentException");
147 } catch (IllegalArgumentException e)
    [all...]
  /frameworks/support/compat/src/androidTest/java/androidx/core/content/
MimeTypeFilterTest.java 119 } catch (IllegalArgumentException e) {
126 } catch (IllegalArgumentException e) {
133 } catch (IllegalArgumentException e) {
140 } catch (IllegalArgumentException e) {
147 } catch (IllegalArgumentException e) {
154 } catch (IllegalArgumentException e) {
161 } catch (IllegalArgumentException e) {
168 } catch (IllegalArgumentException e) {
175 } catch (IllegalArgumentException e) {
182 } catch (IllegalArgumentException e)
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
SimpleTimeZoneTest.java 70 fail("IllegalArgumentException expected");
71 } catch (IllegalArgumentException e) {
79 fail("IllegalArgumentException expected");
80 } catch (IllegalArgumentException e) {
88 fail("IllegalArgumentException expected");
89 } catch (IllegalArgumentException e) {
97 fail("IllegalArgumentException expected");
98 } catch (IllegalArgumentException e) {
129 fail("IllegalArgumentException expected");
130 } catch (IllegalArgumentException e)
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/
UUIDTest.java 30 } catch (IllegalArgumentException expected) { }
35 } catch (IllegalArgumentException expected) { }
40 } catch (IllegalArgumentException expected) { }
45 } catch (IllegalArgumentException expected) { }
50 } catch (IllegalArgumentException expected) { }
  /cts/tests/tests/os/src/android/os/cts/
VibrationEffectTest.java 67 fail("Invalid timing, should throw IllegalArgumentException");
68 } catch (IllegalArgumentException expected) { }
75 fail("Invalid amplitude, should throw IllegalArgumentException");
76 } catch (IllegalArgumentException expected) { }
80 fail("Invalid amplitude, should throw IllegalArgumentException");
81 } catch (IllegalArgumentException expected) { }
129 "should throw IllegalArgumentException");
130 } catch (IllegalArgumentException expected) { }
137 "should throw IllegalArgumentException");
138 } catch (IllegalArgumentException expected) {
    [all...]
  /cts/tests/tests/print/src/android/print/cts/
ClassParametersTest.java 48 IllegalArgumentException.class);
50 IllegalArgumentException.class);
53 IllegalArgumentException.class);
64 IllegalArgumentException.class);
66 IllegalArgumentException.class);
69 IllegalArgumentException.class);
80 IllegalArgumentException.class);
82 IllegalArgumentException.class);
84 IllegalArgumentException.class);
86 IllegalArgumentException.class)
    [all...]
  /frameworks/base/core/java/android/security/keymaster/
KeymasterArguments.java 67 * @throws IllegalArgumentException if {@code tag} is not an enum tag.
72 throw new IllegalArgumentException("Not an enum or repeating enum tag: " + tag);
80 * @throws IllegalArgumentException if {@code tag} is not a repeating enum tag.
84 throw new IllegalArgumentException("Not a repeating enum tag: " + tag);
95 * @throws IllegalArgumentException if {@code tag} is not an enum tag.
99 throw new IllegalArgumentException("Not an enum tag: " + tag);
111 * throws IllegalArgumentException if {@code tag} is not a repeating enum tag.
115 throw new IllegalArgumentException("Not a repeating enum tag: " + tag);
137 * @throws IllegalArgumentException if {@code tag} is not an unsigned 32-bit int tag or if
143 throw new IllegalArgumentException("Not an int or repeating int tag: " + tag)
    [all...]

Completed in 1810 milliseconds

1 2 3 4 5 6 7 8 91011>>