HomeSort by relevance Sort by last modified time
    Searched full:throw (Results 326 - 350 of 5185) sorted by null

<<11121314151617181920>>

  /dalvik/dx/src/junit/extensions/
RepeatedTest.java 15 throw new IllegalArgumentException("Repetition count must be > 0");
  /dalvik/dx/tests/067-dex-switch-and-try/
Blort.java 23 // This test has a try-catch but the try code can't possibly throw.
43 // This test has a try-catch where the try code can theoretically throw.
65 // the try code can theoretically throw, but it would be caught
88 // has a try-catch where the try code can theoretically throw, but
  /dalvik/libcore/archive/src/main/java/java/util/zip/
GZIPInputStream.java 85 throw new IOException(Messages.getString("archive.1F")); //$NON-NLS-1$;
102 throw new EOFException();
120 throw new IOException(Messages.getString("archive.20")); //$NON-NLS-1$
162 throw new IOException(Messages.getString("archive.1E")); //$NON-NLS-1$
170 throw new ArrayIndexOutOfBoundsException();
202 throw new IOException(Messages.getString("archive.20")); //$NON-NLS-1$
205 throw new IOException(Messages.getString("archive.21")); //$NON-NLS-1$
215 throw new EOFException();
230 throw new EOFException();
  /dalvik/libcore/crypto/src/main/java/javax/crypto/
SealedObject.java 90 throw new NullPointerException(Messages.getString("crypto.13")); //$NON-NLS-1$
105 throw new IOException(e.toString());
118 throw new NullPointerException(Messages.getString("crypto.14")); //$NON-NLS-1$
155 throw new InvalidKeyException(
177 throw new NoSuchAlgorithmException(e.toString());
181 throw new NoSuchAlgorithmException(e.toString());
185 throw new NoSuchAlgorithmException(e.toString());
189 throw new NoSuchAlgorithmException(e.toString());
192 throw new NoSuchAlgorithmException(e.toString());
218 throw new NullPointerException(Messages.getString("crypto.13")); //$NON-NLS-1
    [all...]
  /dalvik/libcore/icu/src/main/java/com/ibm/icu4jni/charset/
CharsetProviderICU.java 41 // this would make the Charset API to throw
51 // unsupported encoding. let the charset api throw an
98 throw new NoSuchElementException();
102 throw new UnsupportedOperationException();
  /dalvik/libcore/junit/src/main/java/junit/extensions/
RepeatedTest.java 15 throw new IllegalArgumentException("Repetition count must be > 0");
  /dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/
Util.java 139 throw new IllegalArgumentException();
149 throw new IllegalArgumentException();
157 throw new IllegalArgumentException();
169 throw new IllegalArgumentException();
173 throw new IllegalArgumentException();
178 throw new IllegalArgumentException();
183 throw new IllegalArgumentException();
214 throw new IllegalArgumentException();
239 throw new UTFDataFormatException(Msg.getString("K0062",
245 throw new UTFDataFormatException(Msg.getString("K0062"
    [all...]
  /dalvik/libcore/luni/src/test/java/tests/api/java/io/
InvalidClassExceptionTest.java 42 throw new java.io.InvalidClassException(message);
48 fail("Failed to throw exception");
76 throw new java.io.InvalidClassException(className, message);
85 fail("Failed to throw exception");
  /dalvik/libcore/nio/src/main/java/java/nio/
DoubleArrayBuffer.java 55 throw new BufferUnderflowException();
63 throw new IndexOutOfBoundsException();
72 throw new IndexOutOfBoundsException();
75 throw new BufferUnderflowException();
FloatArrayBuffer.java 55 throw new BufferUnderflowException();
63 throw new IndexOutOfBoundsException();
72 throw new IndexOutOfBoundsException();
75 throw new BufferUnderflowException();
IntArrayBuffer.java 55 throw new BufferUnderflowException();
63 throw new IndexOutOfBoundsException();
72 throw new IndexOutOfBoundsException();
75 throw new BufferUnderflowException();
LongArrayBuffer.java 55 throw new BufferUnderflowException();
63 throw new IndexOutOfBoundsException();
72 throw new IndexOutOfBoundsException();
75 throw new BufferUnderflowException();
ReadWriteCharArrayBuffer.java 97 throw new BufferOverflowException();
106 throw new IndexOutOfBoundsException();
116 throw new IndexOutOfBoundsException();
119 throw new BufferOverflowException();
ReadWriteDoubleArrayBuffer.java 100 throw new BufferOverflowException();
109 throw new IndexOutOfBoundsException();
119 throw new IndexOutOfBoundsException();
122 throw new BufferOverflowException();
ReadWriteFloatArrayBuffer.java 100 throw new BufferOverflowException();
109 throw new IndexOutOfBoundsException();
119 throw new IndexOutOfBoundsException();
122 throw new BufferOverflowException();
ReadWriteIntArrayBuffer.java 97 throw new BufferOverflowException();
106 throw new IndexOutOfBoundsException();
116 throw new IndexOutOfBoundsException();
119 throw new BufferOverflowException();
ReadWriteLongArrayBuffer.java 97 throw new BufferOverflowException();
106 throw new IndexOutOfBoundsException();
116 throw new IndexOutOfBoundsException();
119 throw new BufferOverflowException();
ReadWriteShortArrayBuffer.java 100 throw new BufferOverflowException();
109 throw new IndexOutOfBoundsException();
119 throw new IndexOutOfBoundsException();
122 throw new BufferOverflowException();
ShortArrayBuffer.java 55 throw new BufferUnderflowException();
63 throw new IndexOutOfBoundsException();
72 throw new IndexOutOfBoundsException();
75 throw new BufferUnderflowException();
  /dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/
DirectByteBufferTest.java 52 fail("Should throw Exception"); //$NON-NLS-1$
67 fail("Should throw UnsupportedOperationException"); //$NON-NLS-1$
82 fail("Should throw UnsupportedOperationException"); //$NON-NLS-1$
108 fail("Should throw Exception"); //$NON-NLS-1$
  /dalvik/libcore/security/src/main/java/java/security/spec/
RSAMultiPrimePrivateCrtKeySpec.java 90 throw new NullPointerException(Messages.getString("security.83", "modulus")); //$NON-NLS-1$ //$NON-NLS-2$
93 throw new NullPointerException(Messages.getString("security.83", "privateExponent")); //$NON-NLS-1$ //$NON-NLS-2$
96 throw new NullPointerException(Messages.getString("security.83", "publicExponent")); //$NON-NLS-1$ //$NON-NLS-2$
99 throw new NullPointerException(Messages.getString("security.83", "primeP")); //$NON-NLS-1$ //$NON-NLS-2$
102 throw new NullPointerException(Messages.getString("security.83", "primeQ")); //$NON-NLS-1$ //$NON-NLS-2$
105 throw new NullPointerException(Messages.getString("security.83", "primeExponentP")); //$NON-NLS-1$ //$NON-NLS-2$
108 throw new NullPointerException(Messages.getString("security.83", "primeExponentQ")); //$NON-NLS-1$ //$NON-NLS-2$
111 throw new NullPointerException(Messages.getString("security.83", "crtCoefficient")); //$NON-NLS-1$ //$NON-NLS-2$
116 throw new IllegalArgumentException(
  /dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/crypto/
DSAKeyFactoryImpl.java 65 throw new InvalidKeySpecException(Messages.getString("security.19C")); //$NON-NLS-1$
93 throw new InvalidKeySpecException(Messages.getString("security.19D")); //$NON-NLS-1$
120 throw new NullPointerException(Messages
143 throw new InvalidKeySpecException(Messages
167 throw new InvalidKeySpecException(Messages
171 throw new InvalidKeySpecException(Messages.getString("security.19F")); //$NON-NLS-1$
200 throw new InvalidKeyException(Messages.getString(
216 throw new InvalidKeyException(Messages.getString(
221 throw new InvalidKeyException(Messages.getString("security.19F")); //$NON-NLS-1$
  /dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/params/
RC5Parameters.java 17 throw new IllegalArgumentException("RC5 key length can be no greater than 255");
  /dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/
JDKISOSignature.java 83 throw new SignatureException(e.toString());
99 throw new UnsupportedOperationException("engineSetParameter unsupported");
109 throw new UnsupportedOperationException("engineSetParameter unsupported");
118 throw new UnsupportedOperationException("engineSetParameter unsupported");
  /dalvik/libcore/security/src/main/java/org/bouncycastle/x509/
X509V1CertificateGenerator.java 70 throw new IllegalArgumentException("serial number must be a positive integer");
89 throw new IllegalArgumentException("can't process principal: " + e);
127 throw new IllegalArgumentException("can't process principal: " + e);
150 throw new IllegalArgumentException("unable to process key - " + e.toString());
171 throw new IllegalArgumentException("Unknown signature type requested");
193 throw new SecurityException("BC provider not installed!");
212 throw new SecurityException("BC provider not installed!");
254 throw new SecurityException("exception creating signature: " + e.toString());
280 throw new SecurityException("exception encoding TBS cert - " + e);

Completed in 86 milliseconds

<<11121314151617181920>>