Home
last modified time | relevance | path

Searched refs:throwException (Results 1 – 20 of 20) sorted by relevance

/libcore/luni/src/main/native/
Djava_math_NativeBN.cpp45 static void throwException(JNIEnv* env) { in throwException() function
101 throwException(env); in NativeBN_BN_new()
123 throwException(env); in NativeBN_BN_copy()
134 throwException(env); in NativeBN_putULongInt()
158 throwException(env); in NativeBN_BN_dec2bn()
172 throwException(env); in NativeBN_BN_hex2bn()
184 throwException(env); in NativeBN_BN_bin2bn()
207 throwException(env); in NativeBN_litEndInts2bn()
230 throwException(env); in NativeBN_twosComp2bn()
242 throwException(env); in NativeBN_twosComp2bn()
[all …]
Dlibcore_io_Linux.cpp234 static void throwException(JNIEnv* env, jclass exceptionClass, jmethodID ctor3, jmethodID ctor2, in throwException() function
265 throwException(env, errnoExceptionClass, ctor3, ctor2, functionName, error); in throwErrnoException()
284 throwException(env, gaiExceptionClass, ctor3, ctor2, functionName, error); in throwGaiException()
/libcore/ojluni/src/main/java/javax/net/ssl/
DSSLSocketFactory.java292 private Socket throwException() throws SocketException {
301 return throwException();
308 return throwException();
316 return throwException();
323 return throwException();
331 return throwException();
339 return throwException();
DSSLServerSocketFactory.java201 private ServerSocket throwException() throws SocketException { in throwException() method in DefaultSSLServerSocketFactory
208 return throwException(); in createServerSocket()
216 return throwException(); in createServerSocket()
223 return throwException(); in createServerSocket()
231 return throwException(); in createServerSocket()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/
DCoderResultTest.java60 CoderResult.OVERFLOW.throwException(); in testConstants()
80 CoderResult.UNDERFLOW.throwException(); in testConstants()
228 CoderResult.OVERFLOW.throwException(); in testThrowException()
234 CoderResult.UNDERFLOW.throwException(); in testThrowException()
240 CoderResult.malformedForLength(1).throwException(); in testThrowException()
246 CoderResult.unmappableForLength(1).throwException(); in testThrowException()
/libcore/support/src/test/java/tests/support/
DSupport_ASimpleInputStream.java29 public Support_ASimpleInputStream(boolean throwException) { in Support_ASimpleInputStream() argument
31 throwExceptionOnNextUse = throwException; in Support_ASimpleInputStream()
DSupport_ASimpleOutputStream.java29 public Support_ASimpleOutputStream(boolean throwException) { in Support_ASimpleOutputStream() argument
31 throwExceptionOnNextUse = throwException; in Support_ASimpleOutputStream()
DSupport_ASimpleReader.java29 public Support_ASimpleReader(boolean throwException) { in Support_ASimpleReader() argument
31 throwExceptionOnNextUse = throwException; in Support_ASimpleReader()
DSupport_ASimpleWriter.java29 public Support_ASimpleWriter(boolean throwException) { in Support_ASimpleWriter() argument
31 throwExceptionOnNextUse = throwException; in Support_ASimpleWriter()
DSupport_OutputStream.java29 public Support_OutputStream(boolean throwException) { in Support_OutputStream() argument
31 throwsException = throwException; in Support_OutputStream()
/libcore/ojluni/src/main/java/sun/nio/cs/
DStreamDecoder.java340 cr.throwException(); in implRead()
372 cr.throwException(); in implRead()
387 cr.throwException(); in implRead()
DStreamEncoder.java257 cr.throwException(); in flushLeftoverChar()
285 cr.throwException(); in implWrite()
312 cr.throwException(); in implClose()
/libcore/ojluni/src/main/java/java/nio/charset/
DCoderResult.java275 public void throwException() in throwException() method in CoderResult
DCharsetDecoder.java818 cr.throwException(); in decode()
DCharsetEncoder.java836 cr.throwException(); in encode()
/libcore/ojluni/src/main/java/java/lang/invoke/
DCallSite.java112 this.target = MethodHandles.throwException(type.returnType(), IllegalStateException.class); in CallSite()
DMethodHandles.java3515 MethodHandle throwException(Class<?> returnType, Class<? extends Throwable> exType) { in throwException() method in MethodHandles
/libcore/ojluni/src/lambda/java/java/lang/invoke/
DMethodHandles.java152 …MethodHandle throwException(Class<?> returnType, Class<? extends Throwable> exType) { return null;… in throwException() method in MethodHandles
/libcore/ojluni/annotations/hiddenapi/java/lang/invoke/
DMethodHandles.java357 public static java.lang.invoke.MethodHandle throwException( in throwException() method in MethodHandles
/libcore/luni/src/test/java/libcore/java/lang/invoke/
DMethodHandleCombinersTest.java34 MethodHandle handle = MethodHandles.throwException(String.class, in testThrowException()
1729 MethodHandle thrower = MethodHandles.throwException(void.class, in testThrowCatchExceptionMultiThreaded()