Home
last modified time | relevance | path

Searched refs:lastException (Results 1 – 9 of 9) sorted by relevance

/libcore/ojluni/src/main/java/javax/crypto/
DKeyAgreement.java340 Exception lastException = null; in chooseFirstProvider() local
361 lastException = e; in chooseFirstProvider()
366 if (lastException != null) { in chooseFirstProvider()
367 e.initCause(lastException); in chooseFirstProvider()
396 Exception lastException = null; in chooseProvider() local
421 if (lastException == null) { in chooseProvider()
422 lastException = e; in chooseProvider()
427 if (lastException instanceof InvalidKeyException) { in chooseProvider()
428 throw (InvalidKeyException)lastException; in chooseProvider()
430 if (lastException instanceof InvalidAlgorithmParameterException) { in chooseProvider()
[all …]
DMac.java393 Exception lastException = null; in chooseFirstProvider() local
414 lastException = e; in chooseFirstProvider()
419 if (lastException != null) { in chooseFirstProvider()
420 e.initCause(lastException); in chooseFirstProvider()
435 Exception lastException = null; in chooseProvider() local
460 if (lastException == null) { in chooseProvider()
461 lastException = e; in chooseProvider()
466 if (lastException instanceof InvalidKeyException) { in chooseProvider()
467 throw (InvalidKeyException)lastException; in chooseProvider()
469 if (lastException instanceof InvalidAlgorithmParameterException) { in chooseProvider()
[all …]
DCipher.java774 } catch (Exception lastException) { in updateProviderIfNeeded()
777 if (lastException != null) { in updateProviderIfNeeded()
778 e.initCause(lastException); in updateProviderIfNeeded()
793 } catch (Exception lastException) { in chooseProvider()
795 if (lastException instanceof InvalidKeyException) { in chooseProvider()
796 throw (InvalidKeyException)lastException; in chooseProvider()
798 if (lastException instanceof InvalidAlgorithmParameterException) { in chooseProvider()
799 throw (InvalidAlgorithmParameterException)lastException; in chooseProvider()
801 if (lastException instanceof RuntimeException) { in chooseProvider()
802 throw (RuntimeException)lastException; in chooseProvider()
[all …]
/libcore/ojluni/src/main/java/java/security/
DSignature.java1247 Exception lastException = null; in chooseFirstProvider() local
1272 lastException = e; in chooseFirstProvider()
1277 if (lastException != null) { in chooseFirstProvider()
1278 e.initCause(lastException); in chooseFirstProvider()
1293 Exception lastException = null; in chooseProvider() local
1327 if (lastException == null) { in chooseProvider()
1328 lastException = e; in chooseProvider()
1331 if (lastException instanceof InvalidKeyException) { in chooseProvider()
1332 throw (InvalidKeyException)lastException; in chooseProvider()
1337 if (lastException instanceof InvalidKeyException) { in chooseProvider()
[all …]
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DPKIXCertPathValidator.java110 CertPathValidatorException lastException = null; in validate() local
143 lastException = cpe; in validate()
149 if (lastException != null) { in validate()
150 throw lastException; in validate()
/libcore/ojluni/src/main/java/java/util/logging/
DFileHandler.java543 Exception ex = em.lastException; in openFiles()
732 Exception lastException; field in FileHandler.InitializationErrorManager
735 lastException = ex; in error()
/libcore/luni/src/test/java/libcore/java/net/
DFtpURLConnectionTest.java333 private IOException lastException = null; field in FtpURLConnectionTest.SingleProxySelector
347 lastException = ioe; in connectFailed()
351 return lastException; in getLastException()
/libcore/ojluni/src/main/java/java/util/
DScanner.java371 private IOException lastException; field in Scanner
894 lastException = ioe; in readInput()
1189 lastException = ioe; in close()
1205 return lastException; in ioException()
DFormatter.java1944 private IOException lastException; field in Formatter
2560 lastException = ioe; in flush()
2584 lastException = ioe; in close()
2606 return lastException; in ioException()
2714 lastException = x; in format()