Home
last modified time | relevance | path

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

/libcore/luni/src/main/native/
Dlibcore_math_NativeBN.cpp52 static void throwException(JNIEnv* env) { in throwException() function
81 throwException(env); in NativeBN_BN_new()
106 throwException(env); in NativeBN_litEndInts2bn()
122 throwException(env); in NativeBN_bn2litEndInts()
130 throwException(env); in NativeBN_bn2litEndInts()
136 throwException(env); in NativeBN_bn2litEndInts()
147 throwException(env); in NativeBN_BN_mul()
155 throwException(env); in NativeBN_BN_div()
163 throwException(env); in NativeBN_BN_mod_exp()
Dlibcore_io_Linux.cpp239 static void throwException(JNIEnv* env, jclass exceptionClass, jmethodID ctor3, jmethodID ctor2, in throwException() function
284 throwException(env, gaiExceptionClass, ctor3, ctor2, functionName, error); in throwGaiException()
/libcore/ojluni/src/test/java/text/AttributedString/
DAttributedStringTest.java74 throwException(iterator, "iterator provides attributes where none are defined"); in main()
142throwException(iterator, "text length doesn't match between original text and iterator"); in checkIteratorText()
148throwException(iterator, "text content doesn't match between original text and iterator"); in checkIteratorText()
153 throwException(iterator, "iterator text doesn't end with DONE"); in checkIteratorText()
160throwException(iterator, "number of keys returned by iterator doesn't match expectation"); in checkIteratorAttributeKeys()
164 throwException(iterator, "expected key wasn't found in iterator's key set"); in checkIteratorAttributeKeys()
174throwException(iterator, "run boundaries are not as expected: " + iterator.getRunStart() + ", " + … in checkIteratorSubranges()
180 throwException(iterator, "iterator's run sequence doesn't end with DONE"); in checkIteratorSubranges()
189throwException(iterator, "run boundaries are not as expected: " + iterator.getRunStart(key) + ", "… in checkIteratorSubranges()
195 throwException(iterator, "iterator's run sequence doesn't end with DONE"); in checkIteratorSubranges()
[all …]
/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_ASimpleOutputStream.java29 public Support_ASimpleOutputStream(boolean throwException) { in Support_ASimpleOutputStream() argument
31 throwExceptionOnNextUse = throwException; in Support_ASimpleOutputStream()
DSupport_ASimpleInputStream.java29 public Support_ASimpleInputStream(boolean throwException) { in Support_ASimpleInputStream() argument
31 throwExceptionOnNextUse = throwException; in Support_ASimpleInputStream()
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.java269 cr.throwException(); in flushLeftoverChar()
303 cr.throwException(); in implWrite()
330 cr.throwException(); in implClose()
/libcore/ojluni/src/main/java/java/nio/charset/
DCoderResult.java268 public void throwException() in throwException() method in CoderResult
DCharsetDecoder.java864 cr.throwException(); in decode()
DCharsetEncoder.java864 cr.throwException(); in encode()
DCharset-X-Coder.java.template864 cr.throwException();
/libcore/ojluni/src/main/java/java/lang/invoke/
DCallSite.java112 this.target = MethodHandles.throwException(type.returnType(), IllegalStateException.class); in CallSite()
DMethodHandles.java4182 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/ojluni/src/test/java/lang/invoke/
DMethodHandlesGeneralTest.java1601 MethodHandle target = MethodHandles.throwException(returnType, exType); in testThrowException()
1637 …MethodHandles.throwException(String.class, Exception.class).bindTo(new Exception(thrownMessage)), … in testTryFinally()
1644 …MethodHandle cleanupThrow = MethodHandles.dropArguments(MethodHandles.throwException(String.class,… in testTryFinally()
/libcore/luni/src/test/java/libcore/java/lang/invoke/
DMethodHandleCombinersTest.java34 MethodHandle handle = MethodHandles.throwException(String.class, in testThrowException()
1756 MethodHandle thrower = MethodHandles.throwException(void.class, in testThrowCatchExceptionMultiThreaded()
/libcore/api/
Dcurrent.txt4714 …method public static java.lang.invoke.MethodHandle throwException(Class<?>, Class<? extends java.l…
7178 method public void throwException() throws java.nio.charset.CharacterCodingException;