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
public class ASN1Exception extends IllegalArgumentException
An exception that indicates that ASN.1 encoding or decoding has failed due to invalid input.- Author:
- Farah Juma
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description ASN1Exception()
Constructs a newASN1Exception
instance.ASN1Exception(String msg)
Constructs a newASN1Exception
instance with an initial message.ASN1Exception(String msg, Throwable cause)
Constructs a newASN1Exception
instance with an initial message and cause.ASN1Exception(Throwable cause)
Constructs a newASN1Exception
instance 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
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ASN1Exception
public ASN1Exception()
Constructs a newASN1Exception
instance. The message is left blank (null
), and no cause is specified.
-
ASN1Exception
public ASN1Exception(String msg)
Constructs a newASN1Exception
instance with an initial message. No cause is specified.- Parameters:
msg
- the message
-
ASN1Exception
public ASN1Exception(Throwable cause)
Constructs a newASN1Exception
instance with an initial cause. If a non-null
cause is specified, its message is used to initialize the message of thisASN1Exception
; otherwise the message is left blank (null
).- Parameters:
cause
- the cause
-
-