Preview
Third Preview of PEM Encodings of Cryptographic Objects (JEP 538).
Programs can only use CryptoException when preview features are enabled.
Preview features may be removed in a future release,
or upgraded to permanent features of the Java platform.
This exception represents a general cryptographic error. It is typically
used for unrecoverable failures related to
java. in contexts where checked
exceptions are not desired.
This exception is not intended to represent internal provider errors,
which should be reported using java..
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | CryptoException(String
the detail message. The detail message is saved for later
retrieval by the message)getMessage() method.Constructs a new |
| public | CryptoException(String
the detail message. The detail message is saved for later
retrieval by the message, Throwable getMessage() method.the cause. The cause is saved for later retrieval by the
cause)getCause() method. A null value is permitted
and indicates that the cause is nonexistent or unknown.Constructs a new |
| public | CryptoException(Throwable
the cause. The cause is saved for later retrieval by the
cause)getCause() method. A null value is permitted
and indicates that the cause is nonexistent or unknown.Constructs a new |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| CryptoException | back to summary |
|---|---|
| public CryptoException() Constructs a new | |
| CryptoException | back to summary |
|---|---|
| public CryptoException(String message) Constructs a new
| |
| CryptoException | back to summary |
|---|---|
| public CryptoException(String message, Throwable cause) Constructs a new Note that the detail message associated with
| |
| CryptoException | back to summary |
|---|---|
| public CryptoException(Throwable cause) Constructs a new
| |