Package org.bouncycastle.asn1
Class ASN1ParsingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
org.bouncycastle.asn1.ASN1ParsingException
- All Implemented Interfaces:
Serializable
Exception thrown when correctly encoded, but unexpected data is found in a stream while building an object.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionASN1ParsingException
(String message) Base constructorASN1ParsingException
(String message, Throwable cause) Constructor when this exception is due to another one. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ASN1ParsingException
Base constructor- Parameters:
message
- a message concerning the exception.
-
ASN1ParsingException
Constructor when this exception is due to another one.- Parameters:
message
- a message concerning the exception.cause
- the exception that caused this exception to be thrown.
-
-
Method Details