Java in a Nutshell, 5th Edition [Electronic resources]

نسخه متنی -صفحه : 1191/ 560
نمايش فراداده

UnrecoverableKeyExceptionjava.security

Java 1.2serializable 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( )