Searched refs:throwException (Results 1 - 16 of 16) sorted by relevance

/libcore/support/src/test/java/tests/support/
H A DSupport_ASimpleInputStream.java29 public Support_ASimpleInputStream(boolean throwException) { argument
31 throwExceptionOnNextUse = throwException;
H A DSupport_ASimpleOutputStream.java29 public Support_ASimpleOutputStream(boolean throwException) { argument
31 throwExceptionOnNextUse = throwException;
H A DSupport_ASimpleReader.java29 public Support_ASimpleReader(boolean throwException) { argument
31 throwExceptionOnNextUse = throwException;
H A DSupport_ASimpleWriter.java29 public Support_ASimpleWriter(boolean throwException) { argument
31 throwExceptionOnNextUse = throwException;
H A DSupport_OutputStream.java29 public Support_OutputStream(boolean throwException) { argument
31 throwsException = throwException;
/libcore/ojluni/src/main/java/javax/net/ssl/
H A DSSLServerSocketFactory.java190 private ServerSocket throwException() throws SocketException { method in class:DefaultSSLServerSocketFactory
196 return throwException();
203 return throwException();
209 return throwException();
216 return throwException();
H A DSSLSocketFactory.java223 private Socket throwException() throws SocketException { method in class:DefaultSSLSocketFactory
231 return throwException();
237 return throwException();
244 return throwException();
250 return throwException();
257 return throwException();
264 return throwException();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
H A DCoderResultTest.java60 CoderResult.OVERFLOW.throwException();
80 CoderResult.UNDERFLOW.throwException();
223 * Test method throwException().
228 CoderResult.OVERFLOW.throwException();
234 CoderResult.UNDERFLOW.throwException();
240 CoderResult.malformedForLength(1).throwException();
246 CoderResult.unmappableForLength(1).throwException();
/libcore/ojluni/src/main/java/java/lang/
H A DStringCoding.java174 cr.throwException();
177 cr.throwException();
249 cr.throwException();
252 cr.throwException();
384 cr.throwException();
387 cr.throwException();
/libcore/ojluni/src/main/java/java/nio/charset/
H A DCoderResult.java271 public void throwException() method in class:CoderResult
H A DCharsetDecoder.java801 cr.throwException();
H A DCharsetEncoder.java816 cr.throwException();
/libcore/ojluni/src/main/java/sun/nio/cs/
H A DStreamDecoder.java336 cr.throwException();
367 cr.throwException();
379 cr.throwException();
H A DStreamEncoder.java257 cr.throwException();
285 cr.throwException();
312 cr.throwException();
/libcore/ojluni/src/lambda/java/java/lang/invoke/
H A DMethodHandles.java152 MethodHandle throwException(Class<?> returnType, Class<? extends Throwable> exType) { return null; } method in class:MethodHandles
/libcore/luni/src/main/native/
H A Dlibcore_io_Posix.cpp213 static void throwException(JNIEnv* env, jclass exceptionClass, jmethodID ctor3, jmethodID ctor2, function
243 throwException(env, JniConstants::errnoExceptionClass, ctor3, ctor2, functionName, error);
261 throwException(env, JniConstants::gaiExceptionClass, ctor3, ctor2, functionName, error);

Completed in 690 milliseconds