Name

UnrecoverableKeyException

Synopsis

This exception is thrown if a Key cannot be retrieved from a KeyStore. This commonly occurs when an incorrect password is used.

java.security.UnrecoverableKeyException

Figure 14-45. java.security.UnrecoverableKeyException

public class UnrecoverableKeyException extends GeneralSecurityException {
// Public Constructors
     public UnrecoverableKeyException( );  
     public UnrecoverableKeyException(String msg);  
}

Thrown By

KeyStore.getKey( ), KeyStoreSpi.engineGetKey( ), javax.net.ssl.KeyManagerFactory.init( ), javax.net.ssl.KeyManagerFactorySpi.engineInit( )

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.