Class BadKeyException

All Implemented Interfaces:
Serializable

public final class BadKeyException extends IllegalArgumentException
Signals that a key could not be realized from the given input.

This exception can be raised by any of the from methods on PrivateKey or PublicKey.

See Also:
  • Constructor Details

    • BadKeyException

      BadKeyException(String message)
      Parameters:
      message - the message
    • BadKeyException

      BadKeyException(Throwable cause)
      Parameters:
      cause - the cause