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

1 23 4 5 6 7 8 91011>>

  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
SecretKeySpecTest.java 39 * IllegalArgumentException is thrown in the case of inappropriate
49 fail("An IllegalArgumentException should be thrown "
51 } catch (IllegalArgumentException e) {
56 fail("An IllegalArgumentException should be thrown "
58 } catch (IllegalArgumentException e) {
63 fail("An IllegalArgumentException should be thrown "
65 } catch (IllegalArgumentException e) {
77 * testing. Tests that IllegalArgumentException is thrown in
89 fail("An IllegalArgumentException should be thrown "
91 } catch (IllegalArgumentException e)
    [all...]
IvParameterSpecTest.java 26 import java.lang.IllegalArgumentException;
67 fail("Should raise an IllegalArgumentException "
71 } catch(IllegalArgumentException e) {
78 fail("Should raise an IllegalArgumentException "
82 } catch(IllegalArgumentException e) {
92 } catch(IllegalArgumentException e) {
93 fail("Unexpected IllegalArgumentException was thrown");
104 } catch(IllegalArgumentException e) {
105 fail("Unexpected IllegalArgumentException was thrown");
PBEKeySpecTest.java 76 } catch (IllegalArgumentException e) {
77 fail("Unexpected IllegalArgumentException was thrown.");
86 } catch (IllegalArgumentException e) {
87 fail("Unexpected IllegalArgumentException was thrown.");
93 fail("An IllegalArgumentException should be thrown "
95 } catch (IllegalArgumentException e) {
100 fail("An IllegalArgumentException should be thrown "
102 } catch (IllegalArgumentException e) {
107 fail("An IllegalArgumentException should be thrown "
109 } catch (IllegalArgumentException e)
    [all...]
  /cts/tests/autofillservice/src/android/autofillservice/cts/
TimeoutTest.java 46 assertThrows(IllegalArgumentException.class, ()-> new Timeout(null, 1, 2, 2));
47 assertThrows(IllegalArgumentException.class, ()-> new Timeout("", 1, 2, 2));
49 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, -1, 2, 2));
50 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 0, 2, 2));
52 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 1, -1, 2));
53 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 1, 0, 2));
54 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 1, 1, 2));
56 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 1, 2, -1));
57 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 1, 2, 0));
59 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 2, 2, 1))
    [all...]
  /cts/tests/tests/text/src/android/text/method/cts/
EditorState.java 94 throw new IllegalArgumentException(
103 throw new IllegalArgumentException("Invalid code point is specified:" + token);
108 throw new IllegalArgumentException(
114 throw new IllegalArgumentException(
120 throw new IllegalArgumentException(
126 throw new IllegalArgumentException(
132 throw new IllegalArgumentException(
137 throw new IllegalArgumentException("Unknown or invalid token: " + token);
143 throw new IllegalArgumentException(
146 throw new IllegalArgumentException(
    [all...]
  /external/mockito/src/test/java/org/mockitousage/stubbing/
StubbingConsecutiveAnswersTest.java 61 .thenThrow(new IllegalArgumentException());
78 } catch (IllegalArgumentException expected) { }
84 .thenThrow(new IllegalArgumentException())
95 } catch (IllegalArgumentException expected) { }
111 new IllegalArgumentException(),
122 } catch (IllegalArgumentException expected) { }
138 when(mock.simpleMethod()).thenThrow(IllegalArgumentException.class);
143 } catch (IllegalArgumentException expected) { }
148 } catch (IllegalArgumentException expected) { }
156 IllegalArgumentException.class
    [all...]
  /frameworks/base/core/tests/coretests/src/android/text/method/
EditorState.java 86 throw new IllegalArgumentException(
95 throw new IllegalArgumentException("Invalid code point is specified:" + token);
100 throw new IllegalArgumentException(
106 throw new IllegalArgumentException(
112 throw new IllegalArgumentException(
118 throw new IllegalArgumentException(
124 throw new IllegalArgumentException(
129 throw new IllegalArgumentException("Unknown or invalid token: " + token);
135 throw new IllegalArgumentException(
138 throw new IllegalArgumentException(
    [all...]
  /frameworks/base/media/java/android/media/audiofx/
EnvironmentalReverb.java 132 * @throws java.lang.IllegalArgumentException
137 throws IllegalArgumentException, UnsupportedOperationException, RuntimeException {
145 * @throws IllegalArgumentException
149 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException {
158 * @throws IllegalArgumentException
162 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException {
174 * @throws IllegalArgumentException
178 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException {
187 * @throws IllegalArgumentException
191 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException
    [all...]
Equalizer.java 132 * @throws java.lang.IllegalArgumentException
137 throws IllegalStateException, IllegalArgumentException,
172 * @throws IllegalArgumentException
176 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException {
194 * @throws IllegalArgumentException
198 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException {
211 * @throws IllegalArgumentException
216 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException {
232 * @throws IllegalArgumentException
236 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException
    [all...]
LoudnessEnhancer.java 73 * @throws java.lang.IllegalArgumentException
78 throws IllegalStateException, IllegalArgumentException,
99 * @throws java.lang.IllegalArgumentException
104 throws IllegalStateException, IllegalArgumentException,
119 * @throws IllegalArgumentException
123 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException {
131 * @throws IllegalArgumentException
135 throws IllegalStateException, IllegalArgumentException, UnsupportedOperationException {
224 * @throws IllegalArgumentException if the string is not correctly formatted.
230 throw new IllegalArgumentException("settings: " + settings)
    [all...]
  /libcore/luni/src/test/java/libcore/java/sql/
TimestampTest.java 74 } catch (IllegalArgumentException expected) { }
79 } catch (IllegalArgumentException expected) { }
84 } catch (IllegalArgumentException expected) { }
89 } catch (IllegalArgumentException expected) { }
94 } catch (IllegalArgumentException expected) { }
99 } catch (IllegalArgumentException expected) { }
104 } catch (IllegalArgumentException expected) { }
109 } catch (IllegalArgumentException expected) { }
114 } catch (IllegalArgumentException expected) { }
119 } catch (IllegalArgumentException expected) {
    [all...]
  /libcore/luni/src/test/java/libcore/java/text/
OldBidiTest.java 80 } catch (IllegalArgumentException expected) {
87 } catch (IllegalArgumentException expected) {
94 } catch (IllegalArgumentException expected) {
102 } catch (IllegalArgumentException expected) {
110 } catch (IllegalArgumentException expected) {
119 } catch (IllegalArgumentException expected) {
125 } catch (IllegalArgumentException expected) {
132 } catch (IllegalArgumentException expected) {
139 } catch (IllegalArgumentException expected) {
150 } catch (IllegalArgumentException expected)
    [all...]
  /cts/tests/tests/location/src/android/location/cts/
LocationManagerTest.java 133 fail("Should throw IllegalArgumentException when provider already exists!");
134 } catch (IllegalArgumentException e) {
144 fail("Should throw IllegalArgumentException when no provider exists!");
145 } catch (IllegalArgumentException e) {
223 fail("Should throw IllegalArgumentException when provider is null!");
224 } catch (IllegalArgumentException e) {
331 * throws an {@link java.lang.IllegalArgumentException} if there is no such test provider,
345 fail("Should throw IllegalArgumentException if param listener is null!");
346 } catch (IllegalArgumentException e) {
352 fail("Should throw IllegalArgumentException if param provider is null!")
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/
GraphicsUtilitiesTest.java 73 } catch (IllegalArgumentException e) {
144 } catch (IllegalArgumentException e) {
151 } catch (IllegalArgumentException e) {
158 } catch (IllegalArgumentException e) {
165 } catch (IllegalArgumentException e) {
172 } catch (IllegalArgumentException e) {
179 } catch (IllegalArgumentException e) {
186 } catch (IllegalArgumentException e) {
194 } catch (IllegalArgumentException e) {
201 } catch (IllegalArgumentException e)
    [all...]
  /frameworks/support/compat/src/main/java/androidx/core/util/
Preconditions.java 38 throw new IllegalArgumentException();
48 * @throws IllegalArgumentException if {@code expression} is false
52 throw new IllegalArgumentException(String.valueOf(errorMessage));
62 * @throws IllegalArgumentException if {@code string} is empty
66 throw new IllegalArgumentException();
79 * @throws IllegalArgumentException if {@code string} is empty
84 throw new IllegalArgumentException(String.valueOf(errorMessage));
154 throw new IllegalArgumentException("Requested flags 0x"
168 * @throws IllegalArgumentException if {@code value} was negative
173 throw new IllegalArgumentException(errorMessage)
    [all...]
  /frameworks/native/opengl/tools/glgen/stubs/gles11/
glGetUniformIndices.cpp 17 _exceptionType = "java/lang/IllegalArgumentException";
27 _exceptionType = "java/lang/IllegalArgumentException";
36 _exceptionType = "java/lang/IllegalArgumentException";
42 _exceptionType = "java/lang/IllegalArgumentException";
48 _exceptionType = "java/lang/IllegalArgumentException";
96 _exceptionType = "java/lang/IllegalArgumentException";
102 _exceptionType = "java/lang/IllegalArgumentException";
113 _exceptionType = "java/lang/IllegalArgumentException";
130 _exceptionType = "java/lang/IllegalArgumentException";
  /prebuilts/jdk/jdk8/darwin-x86/sample/nio/multicast/
MulticastAddress.java 83 throw new IllegalArgumentException("At most one '@' expected");
90 throw new IllegalArgumentException("group:port expected");
96 throw new IllegalArgumentException(x);
103 throw new IllegalArgumentException("missing ']'");
106 throw new IllegalArgumentException("missing IPv6 address");
114 throw new IllegalArgumentException(x);
117 throw new IllegalArgumentException("'" + group.getHostAddress() +
127 throw new IllegalArgumentException(x);
130 throw new IllegalArgumentException("'" + components[1] +
  /prebuilts/jdk/jdk8/linux-x86/sample/nio/multicast/
MulticastAddress.java 83 throw new IllegalArgumentException("At most one '@' expected");
90 throw new IllegalArgumentException("group:port expected");
96 throw new IllegalArgumentException(x);
103 throw new IllegalArgumentException("missing ']'");
106 throw new IllegalArgumentException("missing IPv6 address");
114 throw new IllegalArgumentException(x);
117 throw new IllegalArgumentException("'" + group.getHostAddress() +
127 throw new IllegalArgumentException(x);
130 throw new IllegalArgumentException("'" + components[1] +
  /external/mockito/src/test/java/org/mockitousage/
CompilationWarningsTest.java 27 doThrow(new NullPointerException(), new IllegalArgumentException()).when(mock(IMethods.class)).objectReturningMethodNoArgs();
34 doAnswer(ignore()).doThrow(new NullPointerException(), new IllegalArgumentException()).when(mock(IMethods.class)).objectReturningMethodNoArgs();
41 when(mock(IMethods.class).objectReturningMethodNoArgs()).thenThrow(new NullPointerException(), new IllegalArgumentException());
48 when(mock(IMethods.class).objectReturningMethodNoArgs()).then(ignore()).thenThrow(new NullPointerException(), new IllegalArgumentException());
55 willThrow(new NullPointerException(), new IllegalArgumentException()).given(mock(IMethods.class)).objectReturningMethodNoArgs();
62 willAnswer(ignore()).willThrow(new NullPointerException(), new IllegalArgumentException()).given(mock(IMethods.class)).objectReturningMethodNoArgs();
69 given(mock(IMethods.class).objectReturningMethodNoArgs()).willThrow(new NullPointerException(), new IllegalArgumentException());
76 given(mock(IMethods.class).objectReturningMethodNoArgs()).will(ignore()).willThrow(new NullPointerException(), new IllegalArgumentException());
83 doThrow(NullPointerException.class, IllegalArgumentException.class).when(mock(IMethods.class)).objectReturningMethodNoArgs();
84 when(mock(IMethods.class).objectReturningMethodNoArgs()).thenThrow(NullPointerException.class, IllegalArgumentException.class)
    [all...]
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowOpenGLMatrix.java 28 * @throws IllegalArgumentException if result, lhs, or rhs are null, or if
36 throw new IllegalArgumentException("result == null");
39 throw new IllegalArgumentException("lhs == null");
42 throw new IllegalArgumentException("rhs == null");
45 throw new IllegalArgumentException("resultOffset + 16 > result.length");
48 throw new IllegalArgumentException("lhsOffset + 16 > lhs.length");
51 throw new IllegalArgumentException("rhsOffset + 16 > rhs.length");
89 * @throws IllegalArgumentException if resultVec, lhsMat,
99 throw new IllegalArgumentException("resultVec == null");
102 throw new IllegalArgumentException("lhsMat == null")
    [all...]
  /cts/tests/tests/net/src/android/net/rtp/cts/
AudioStreamTest.java 55 fail("Expecting IllegalArgumentException");
56 } catch (IllegalArgumentException e) {
65 fail("Expecting IllegalArgumentException");
66 } catch (IllegalArgumentException e) {
82 fail("Expecting IllegalArgumentException");
83 } catch (IllegalArgumentException e) {
  /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
ConstrainedBiMapTest.java 49 fail("Expected IllegalArgumentException");
50 } catch (IllegalArgumentException expected) {
61 fail("Expected IllegalArgumentException");
62 } catch (IllegalArgumentException expected) {
73 fail("Expected IllegalArgumentException");
74 } catch (IllegalArgumentException expected) {
ConstrainedMapTest.java 49 fail("Expected IllegalArgumentException");
50 } catch (IllegalArgumentException expected) {
61 fail("Expected IllegalArgumentException");
62 } catch (IllegalArgumentException expected) {
73 fail("Expected IllegalArgumentException");
74 } catch (IllegalArgumentException expected) {
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/
ServerSocketFactoryTest.java 61 fail("IllegalArgumentException wasn't thrown");
62 } catch (IllegalArgumentException expected) {
81 fail("IllegalArgumentException wasn't thrown");
82 } catch (IllegalArgumentException expected) {
102 fail("IllegalArgumentException wasn't thrown");
103 } catch (IllegalArgumentException expected) {
SocketFactoryTest.java 76 fail("IllegalArgumentException wasn't thrown for " + invalidPorts[i]);
77 } catch (IllegalArgumentException expected) {
107 fail("IllegalArgumentException wasn't thrown for " + invalidPorts[i]);
108 } catch (IllegalArgumentException expected) {
164 fail("IllegalArgumentException wasn't thrown for " + invalidPorts[i]);
165 } catch (IllegalArgumentException expected) {
173 fail("IllegalArgumentException wasn't thrown for " + invalidPorts[i]);
174 } catch (IllegalArgumentException expected) {
180 // Checks the ordering of port number validation (IllegalArgumentException) and binding error.
196 // BindException and IllegalArgumentException are expected in this case as the address i
    [all...]

Completed in 3533 milliseconds

1 23 4 5 6 7 8 91011>>