Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/javax/net/ssl/
DSSLSocketFactory.java223 private Socket throwException() throws SocketException {
231 return throwException();
237 return throwException();
244 return throwException();
250 return throwException();
257 return throwException();
264 return throwException();
DSSLServerSocketFactory.java190 private ServerSocket throwException() throws SocketException { in throwException() method in DefaultSSLServerSocketFactory
196 return throwException(); in createServerSocket()
203 return throwException(); in createServerSocket()
209 return throwException(); in createServerSocket()
216 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/java/lang/
DStringCoding.java174 cr.throwException(); in decode()
177 cr.throwException(); in decode()
249 cr.throwException(); in decode()
252 cr.throwException(); in decode()
384 cr.throwException(); in encode()
387 cr.throwException(); in encode()
/libcore/ojluni/src/main/java/sun/nio/cs/
DStreamEncoder.java257 cr.throwException(); in flushLeftoverChar()
285 cr.throwException(); in implWrite()
312 cr.throwException(); in implClose()
DStreamDecoder.java336 cr.throwException(); in implRead()
367 cr.throwException(); in implRead()
379 cr.throwException(); in implRead()
/libcore/ojluni/src/main/java/java/nio/charset/
DCoderResult.java271 public void throwException() in throwException() method in CoderResult
DCharsetDecoder.java801 cr.throwException(); in decode()
DCharsetEncoder.java816 cr.throwException(); in encode()
/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/luni/src/main/native/
Dlibcore_io_Posix.cpp213 static void throwException(JNIEnv* env, jclass exceptionClass, jmethodID ctor3, jmethodID ctor2, in throwException() function
243 throwException(env, JniConstants::errnoExceptionClass, ctor3, ctor2, functionName, error); in throwErrnoException()
261 throwException(env, JniConstants::gaiExceptionClass, ctor3, ctor2, functionName, error); in throwGaiException()