Class InvalidKeySpecException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ExtendedInvalidKeySpecException

public class InvalidKeySpecException
extends GeneralSecurityException
The exception that is thrown when an invalid key specification is encountered.
See Also:
Serialized Form
  • Constructor Details

    • InvalidKeySpecException

      public InvalidKeySpecException​(String msg)
      Creates a new InvalidKeySpecException with the specified message.
      Parameters:
      msg - the detail message of this exception.
    • InvalidKeySpecException

      public InvalidKeySpecException()
      Creates a new InvalidKeySpecException.
    • InvalidKeySpecException

      public InvalidKeySpecException​(String message, Throwable cause)
      Creates a new InvalidKeySpecException with the specified message and cause.
      Parameters:
      message - the detail message of this exception.
      cause - the cause of this exception.
    • InvalidKeySpecException

      public InvalidKeySpecException​(Throwable cause)
      Creates a new InvalidKeySpecException with the specified cause.
      Parameters:
      cause - the cause of this exception.