Class InvalidPemException
java.lang.Object
java.lang.Throwable
java.lang.Exception
dev.getelements.elements.sdk.model.security.InvalidPemException
- All Implemented Interfaces:
Serializable
Exception thrown when PEM data is malformed or cannot be parsed.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance with no message.InvalidPemException(String message) Creates a new instance with the given message.InvalidPemException(String message, Throwable cause) Creates a new instance with the given message and cause.InvalidPemException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates a new instance with full control over suppression and stack trace.InvalidPemException(Throwable cause) Creates a new instance with the given cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidPemException
public InvalidPemException()Creates a new instance with no message. -
InvalidPemException
Creates a new instance with the given message.- Parameters:
message- the detail message
-
InvalidPemException
Creates a new instance with the given message and cause.- Parameters:
message- the detail messagecause- the cause
-
InvalidPemException
Creates a new instance with the given cause.- Parameters:
cause- the cause
-
InvalidPemException
public InvalidPemException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) Creates a new instance with full control over suppression and stack trace.- Parameters:
message- the detail messagecause- the causeenableSuppression- whether suppression is enabledwritableStackTrace- whether the stack trace is writable
-