/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
IllegalArgumentExceptionTest.java | 27 * @tests java.lang.IllegalArgumentException#IllegalArgumentException() 30 IllegalArgumentException e = new IllegalArgumentException(); 37 * @tests java.lang.IllegalArgumentException#IllegalArgumentException(java.lang.String) 40 IllegalArgumentException e = new IllegalArgumentException("fixture"); 46 * @tests {@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...] |
/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/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/callback/ |
ConfirmationCallbackTest.java | 52 public final void testConfirmationCallback_01() throws IllegalArgumentException { 57 } catch (IllegalArgumentException e){} 65 public final void testConfirmationCallback_02() throws IllegalArgumentException{ 69 }catch (IllegalArgumentException e){} 73 } catch (IllegalArgumentException e){} 77 } catch (IllegalArgumentException e){} 86 public final void testConfirmationCallback_03() throws IllegalArgumentException { 89 } catch(IllegalArgumentException e){} 92 } catch(IllegalArgumentException e){} 96 } catch(IllegalArgumentException e){ [all...] |
ChoiceCallbackTest.java | 73 fail("should be throw IllegalArgumentException"); 74 } catch (IllegalArgumentException e) { 79 fail("should be throw IllegalArgumentException"); 80 } catch (IllegalArgumentException e) { 85 fail("should be throw IllegalArgumentException"); 86 } catch (IllegalArgumentException e) { 90 fail("should be throw IllegalArgumentException"); 91 } catch (IllegalArgumentException e) { 96 fail("should be throw IllegalArgumentException"); 97 } catch (IllegalArgumentException e) [all...] |
/cts/tests/tests/location/src/android/location/cts/ |
GeocoderTest.java | 71 fail("should throw IllegalArgumentException"); 72 } catch (IllegalArgumentException e) { 78 fail("should throw IllegalArgumentException"); 79 } catch (IllegalArgumentException e) { 85 fail("should throw IllegalArgumentException"); 86 } catch (IllegalArgumentException e) { 92 fail("should throw IllegalArgumentException"); 93 } catch (IllegalArgumentException e) { 122 fail("should throw IllegalArgumentException"); 123 } catch (IllegalArgumentException e) [all...] |
/libcore/luni/src/main/java/java/lang/ |
IllegalArgumentException.java | 24 public class IllegalArgumentException extends RuntimeException { 29 * Constructs a new {@code IllegalArgumentException} that includes the 32 public IllegalArgumentException() { 36 * Constructs a new {@code IllegalArgumentException} with the current stack 42 public IllegalArgumentException(String detailMessage) { 47 * Constructs a new {@code IllegalArgumentException} with the current stack 56 public IllegalArgumentException(String message, Throwable cause) { 61 * Constructs a new {@code IllegalArgumentException} with the current stack 68 public IllegalArgumentException(Throwable cause) {
|
/libcore/luni/src/test/java/tests/api/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/keystore/tests/src/android/security/ |
KeyPairGeneratorSpecTest.java | 84 fail("Should throw IllegalArgumentException when context is null"); 85 } catch (IllegalArgumentException success) { 93 fail("Should throw IllegalArgumentException when keystoreAlias is null"); 94 } catch (IllegalArgumentException success) { 102 fail("Should throw IllegalArgumentException when subjectDN is null"); 103 } catch (IllegalArgumentException success) { 111 fail("Should throw IllegalArgumentException when startDate is null"); 112 } catch (IllegalArgumentException success) { 120 fail("Should throw IllegalArgumentException when startDate is null"); 121 } catch (IllegalArgumentException success) [all...] |
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
TimeTest.java | 132 fail("Should throw IllegalArgumentException"); 133 } catch (IllegalArgumentException e) { 157 fail("Should throw IllegalArgumentException."); 158 } catch (IllegalArgumentException e) { 169 fail("Should throw IllegalArgumentException."); 170 } catch (IllegalArgumentException e) { 181 fail("Should throw IllegalArgumentException."); 182 } catch (IllegalArgumentException e) { 193 fail("Should throw IllegalArgumentException."); 194 } catch (IllegalArgumentException e) [all...] |
DateTest.java | 142 * an IllegalArgumentException 149 fail("Should throw IllegalArgumentException."); 150 } catch (IllegalArgumentException ie) { 157 * throws an IllegalArgumentException 164 fail("Should throw IllegalArgumentException."); 165 } catch (IllegalArgumentException ie) { 172 * throws an IllegalArgumentException 179 fail("Should throw IllegalArgumentException."); 180 } catch (IllegalArgumentException ie) { 187 * throws an IllegalArgumentException [all...] |
/libcore/luni/src/test/java/tests/api/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...] |
/external/apache-harmony/security/src/test/api/java.injected/java/security/ |
AlgorithmParameterGeneratorSpiTest.java | 62 fail("IllegalArgumentException must be thrown"); 63 } catch (IllegalArgumentException e) { 70 fail("IllegalArgumentException must be thrown"); 71 } catch (IllegalArgumentException e) { 75 fail("IllegalArgumentException must be thrown"); 76 } catch (IllegalArgumentException e) {
|
/libcore/luni/src/test/java/tests/java/security/ |
AlgorithmParameterGeneratorSpiTest.java | 54 fail("IllegalArgumentException must be thrown"); 55 } catch (IllegalArgumentException e) { 62 fail("IllegalArgumentException must be thrown"); 63 } catch (IllegalArgumentException e) { 67 fail("IllegalArgumentException must be thrown"); 68 } catch (IllegalArgumentException e) {
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
DERExternalParser.java | 31 catch (IllegalArgumentException e) 47 catch (IllegalArgumentException ioe)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
RSAKeyGenerationParameters.java | 24 throw new IllegalArgumentException("key strength too small"); 32 throw new IllegalArgumentException("public exponent cannot be even");
|
/libcore/luni/src/test/java/libcore/java/math/ |
MathContextTest.java | 43 } catch (IllegalArgumentException expected) { 48 } catch (IllegalArgumentException expected) { 55 } catch (IllegalArgumentException expected) { 62 } catch (IllegalArgumentException expected) { 67 } catch (IllegalArgumentException expected) { 72 } catch (IllegalArgumentException expected) { 79 } catch (IllegalArgumentException expected) { 84 } catch (IllegalArgumentException expected) {
|
/external/smack/src/org/apache/harmony/javax/security/auth/callback/ |
ConfirmationCallback.java | 65 throw new IllegalArgumentException("auth.16"); //$NON-NLS-1$ 71 throw new IllegalArgumentException("auth.17"); //$NON-NLS-1$ 76 throw new IllegalArgumentException("auth.17"); //$NON-NLS-1$ 81 throw new IllegalArgumentException("auth.17"); //$NON-NLS-1$ 85 throw new IllegalArgumentException("auth.18"); //$NON-NLS-1$ 95 throw new IllegalArgumentException("auth.16"); //$NON-NLS-1$ 99 throw new IllegalArgumentException("auth.1A"); //$NON-NLS-1$ 103 throw new IllegalArgumentException("auth.1A"); //$NON-NLS-1$ 107 throw new IllegalArgumentException("auth.17"); //$NON-NLS-1$ 120 throw new IllegalArgumentException("auth.14"); //$NON-NLS-1 [all...] |
/external/apache-harmony/crypto/src/test/api/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...] |
/dalvik/dx/tests/081-dex-throws-list/ |
expected.txt | 4 system-annotation dalvik.annotation.Throws {value: {java.lang.Throwable, java.lang.IllegalArgumentException}}
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ |
DerivationFunction.java | 16 throws DataLengthException, IllegalArgumentException;
|
/external/nist-sip/java/javax/sip/ |
DialogState.java | 16 throw new IllegalArgumentException(
|
/external/smack/src/org/xbill/DNS/ |
InvalidDClassException.java | 11 public class InvalidDClassException extends IllegalArgumentException {
|
InvalidTTLException.java | 11 public class InvalidTTLException extends IllegalArgumentException {
|
InvalidTypeException.java | 11 public class InvalidTypeException extends IllegalArgumentException {
|