Package org.wildfly.security.asn1
Class ASN1Exception
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.wildfly.security.asn1.ASN1Exception
- All Implemented Interfaces:
Serializable
An exception that indicates that ASN.1 encoding or decoding has failed due to invalid input.
- Author:
- Farah Juma
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newASN1Exceptioninstance.ASN1Exception(String msg) Constructs a newASN1Exceptioninstance with an initial message.ASN1Exception(String msg, Throwable cause) Constructs a newASN1Exceptioninstance with an initial message and cause.ASN1Exception(Throwable cause) Constructs a newASN1Exceptioninstance with an initial 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
-
ASN1Exception
public ASN1Exception()Constructs a newASN1Exceptioninstance. The message is left blank (null), and no cause is specified. -
ASN1Exception
Constructs a newASN1Exceptioninstance with an initial message. No cause is specified.- Parameters:
msg- the message
-
ASN1Exception
Constructs a newASN1Exceptioninstance with an initial cause. If a non-nullcause is specified, its message is used to initialize the message of thisASN1Exception; otherwise the message is left blank (null).- Parameters:
cause- the cause
-
ASN1Exception
Constructs a newASN1Exceptioninstance with an initial message and cause.- Parameters:
msg- the messagecause- the cause
-