Package java.security

Class InvalidKeyException

  • All Implemented Interfaces:
    Serializable

    public class InvalidKeyException
    extends KeyException
    InvalidKeyException indicates exceptional conditions, caused by an invalid key.
    See Also:
    Serialized Form
    • Constructor Detail

      • InvalidKeyException

        public InvalidKeyException​(String msg)
        Constructs a new instance of InvalidKeyException with the given message.
        Parameters:
        msg - the detail message for this exception.
      • InvalidKeyException

        public InvalidKeyException()
        Constructs a new instance of InvalidKeyException.
      • InvalidKeyException

        public InvalidKeyException​(String message,
                                   Throwable cause)
        Constructs a new instance of InvalidKeyException with the given message and the cause.
        Parameters:
        message - the detail message for this exception.
        cause - the exception which is the cause for this exception.
      • InvalidKeyException

        public InvalidKeyException​(Throwable cause)
        Constructs a new instance of InvalidKeyException with the cause.
        Parameters:
        cause - the exception which is the cause for this exception.