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

/libcore/luni/src/main/native/
H A Djava_math_NativeBN.cpp43 static void throwException(JNIEnv* env) { function
99 throwException(env);
121 throwException(env);
132 throwException(env);
156 throwException(env);
170 throwException(env);
182 throwException(env);
205 throwException(env);
228 throwException(env);
240 throwException(en
[all...]
H A Dlibcore_io_Linux.cpp227 static void throwException(JNIEnv* env, jclass exceptionClass, jmethodID ctor3, jmethodID ctor2, function
257 throwException(env, JniConstants::errnoExceptionClass, ctor3, ctor2, functionName, error);
275 throwException(env, JniConstants::gaiExceptionClass, ctor3, ctor2, functionName, error);
/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.java191 private ServerSocket throwException() throws SocketException { method in class:DefaultSSLServerSocketFactory
198 return throwException();
206 return throwException();
213 return throwException();
221 return throwException();
H A DSSLSocketFactory.java282 private Socket throwException() throws SocketException { method in class:DefaultSSLSocketFactory
291 return throwException();
298 return throwException();
306 return throwException();
313 return throwException();
321 return throwException();
329 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/nio/charset/
H A DCoderResult.java275 public void throwException() method in class:CoderResult
H A DCharsetDecoder.java812 cr.throwException();
H A DCharsetEncoder.java835 cr.throwException();
/libcore/ojluni/src/main/java/sun/nio/cs/
H A DStreamDecoder.java337 cr.throwException();
368 cr.throwException();
380 cr.throwException();
H A DStreamEncoder.java257 cr.throwException();
285 cr.throwException();
312 cr.throwException();
/libcore/ojluni/src/main/java/java/lang/invoke/
H A DCallSite.java111 this.target = MethodHandles.throwException(type.returnType(), IllegalStateException.class);
H A DMethodHandles.java3449 * with {@link #throwException throwException},
3497 MethodHandle throwException(Class<?> returnType, Class<? extends Throwable> exType) { method in class:MethodHandles
/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/test/java/libcore/java/lang/invoke/
H A DMethodHandleCombinersTest.java34 MethodHandle handle = MethodHandles.throwException(String.class,
1729 MethodHandle thrower = MethodHandles.throwException(void.class,

Completed in 378 milliseconds