Signals that
something is wrong with a key. See also the subclasses
InvalidKeyException and
KeyManagementException.
Figure 14-18. java.security.KeyException

public class KeyException extends GeneralSecurityException {
// Public Constructors
public KeyException ( );
5.0 public KeyException (Throwable cause );
public KeyException (String msg );
5.0 public KeyException (String message , Throwable cause );
}
Subclasses
InvalidKeyException,
KeyManagementException
Thrown By
java.security.Certificate.{decode( ),
encode( )}, Signer.setKeyPair(
)