Home
last modified time | relevance | path

Searched refs:ex2 (Results 1 – 13 of 13) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/jar/
DOldJarExceptionTest.java30 JarException ex2 = new JarException(null); in test_Constructor() local
33 assertNotSame(ex, ex2); in test_Constructor()
34 assertSame(ex.getMessage(), ex2.getMessage()); in test_Constructor()
39 JarException ex2 = new JarException(null); in test_ConstructorLjava_lang_String() local
40 assertNotSame(ex1, ex2); in test_ConstructorLjava_lang_String()
41 assertNotSame(ex1.getMessage(), ex2.getMessage()); in test_ConstructorLjava_lang_String()
/libcore/ojluni/src/main/java/java/util/logging/
DHandler.java242 } catch (Exception ex2) { in reportError()
244 ex2.printStackTrace(); in reportError()
DConsoleHandler.java84 } catch (Exception ex2) { in configure()
DSocketHandler.java103 } catch (Exception ex2) { in configure()
DStreamHandler.java95 } catch (Exception ex2) { in configure()
DFileHandler.java244 } catch (Exception ex2) { in configure()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyStoreBuilderTest.java439 Exception ex2 = null; in testNewInstanceStringProviderProtectionParameter() local
448 ex2 = e; in testNewInstanceStringProviderProtectionParameter()
450 assertEquals("Incorrect exception", ex1.getMessage(), ex2 in testNewInstanceStringProviderProtectionParameter()
467 ex2 = e; in testNewInstanceStringProviderProtectionParameter()
469 assertEquals("Incorrect exception", ex1.getMessage(), ex2 in testNewInstanceStringProviderProtectionParameter()
/libcore/ojluni/src/main/java/java/time/temporal/
DTemporalUnit.java187 } catch (RuntimeException ex2) { in isSupportedBy()
/libcore/ojluni/src/main/java/sun/security/x509/
DX509CertImpl.java1364 for (Extension ex2: extensions.getAllExtensions()) { in getExtension()
1365 if (ex2.getExtensionId().equals((Object)oid)) { in getExtension()
1367 return ex2; in getExtension()
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/
DFtpURLConnection.java519 } catch (FtpProtocolException ex2) { in getInputStream()
/libcore/jsr166-tests/src/test/java/jsr166/
DCompletableFutureTest.java893 final CFException ex2 = new CFException(); in testExceptionally_exceptionalCompletionActionFailed() local
901 throw ex2; in testExceptionally_exceptionalCompletionActionFailed()
905 checkCompletedWithWrappedException(g, ex2); in testExceptionally_exceptionalCompletionActionFailed()
1031 final CFException ex2 = new CFException(); in testWhenComplete_sourceFailedActionFailed() local
1042 throw ex2; in testWhenComplete_sourceFailedActionFailed()
1050 assertSame(ex2, ex1.getSuppressed()[0]); in testWhenComplete_sourceFailedActionFailed()
1181 final CFException ex2 = new CFException(); in testHandle_sourceFailedActionFailed() local
1192 throw ex2; in testHandle_sourceFailedActionFailed()
1196 checkCompletedWithWrappedException(g, ex2); in testHandle_sourceFailedActionFailed()
/libcore/ojluni/src/main/java/java/time/
DDuration.java478 } catch (DateTimeException ex2) { in between()
/libcore/ojluni/src/main/java/java/io/
DObjectOutputStream.java362 } catch (IOException ex2) { in writeObject()