java.security
Class InvalidKeyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.security.GeneralSecurityException
              extended by java.security.KeyException
                  extended by java.security.InvalidKeyException
All Implemented Interfaces:
Serializable

public class InvalidKeyException
extends KeyException

Thrown for an invalid key.

See Also:
Serialized Form

Constructor Summary
InvalidKeyException()
          Construct an exception with no message.
InvalidKeyException(String msg)
          Construct an exception with a message.
InvalidKeyException(String s, Throwable cause)
          Create a new instance with a descriptive error message and a cause.
InvalidKeyException(Throwable cause)
          Create a new instance with a cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidKeyException

public InvalidKeyException()
Construct an exception with no message.


InvalidKeyException

public InvalidKeyException(String msg)
Construct an exception with a message.

Parameters:
msg - the message

InvalidKeyException

public InvalidKeyException(String s,
                           Throwable cause)
Create a new instance with a descriptive error message and a cause.

Parameters:
s - the descriptive error message
cause - the cause
Since:
1.5

InvalidKeyException

public InvalidKeyException(Throwable cause)
Create a new instance with a cause.

Parameters:
cause - the cause
Since:
1.5