Java In A Nutshell, 5th Edition

UnrecoverableKeyException java.security

Java 1.2 serializable checked

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

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( )

Категории