AI-generated Key Takeaways
-
InvalidAlgorithmParameterException
signals that algorithm parameters are invalid or inappropriate. -
This exception extends
GeneralSecurityException
and provides constructors to specify detail messages and causes. -
It offers four constructors for flexibility in detailing the exception.
-
InvalidAlgorithmParameterException
is closely related toAlgorithmParameters
andAlgorithmParameterSpec
for managing algorithm parameters.
This is the exception for invalid or inappropriate algorithm parameters.
Public Constructor Summary
InvalidAlgorithmParameterException()
Constructs an InvalidAlgorithmParameterException with no detail
message.
|
|
InvalidAlgorithmParameterException(String msg)
Constructs an InvalidAlgorithmParameterException with the specified
detail message.
|
|
InvalidAlgorithmParameterException(String message, Throwable cause)
Creates a
InvalidAlgorithmParameterException with the
specified detail message and cause. |
|
InvalidAlgorithmParameterException(Throwable cause)
Creates a
InvalidAlgorithmParameterException with the
specified cause and a detail message of
(cause==null ? null : cause.toString())
(which typically contains the class and detail message of
cause ). |
Inherited Method Summary
Public Constructors
public InvalidAlgorithmParameterException ()
Constructs an InvalidAlgorithmParameterException with no detail message. A detail message is a String that describes this particular exception.
public InvalidAlgorithmParameterException (String msg)
Constructs an InvalidAlgorithmParameterException with the specified detail message. A detail message is a String that describes this particular exception.
Parameters
msg | the detail message. |
---|
public InvalidAlgorithmParameterException (String message, Throwable cause)
Creates a InvalidAlgorithmParameterException
with the
specified detail message and cause.
Parameters
message | the detail message (which is saved for later retrieval
by the Throwable.getMessage() method). |
---|---|
cause | the cause (which is saved for later retrieval by the
Throwable.getCause() method). (A null value is permitted,
and indicates that the cause is nonexistent or unknown.) |
public InvalidAlgorithmParameterException (Throwable cause)
Creates a InvalidAlgorithmParameterException
with the
specified cause and a detail message of
(cause==null ? null : cause.toString())
(which typically contains the class and detail message of
cause
).
Parameters
cause | the cause (which is saved for later retrieval by the
Throwable.getCause() method). (A null value is permitted,
and indicates that the cause is nonexistent or unknown.) |
---|