Top Description Fields Constructors Methods
org.bouncycastle.asn1

public Class ASN1ParsingException

extends IllegalStateException
Class Inheritance

Exception thrown when correctly encoded, but unexpected data is found in a stream while building an object.

Field Summary

Modifier and TypeField and Description
private Throwable

Constructor Summary

AccessConstructor and Description
public
ASN1ParsingException(String
a message concerning the exception.
message
)

Base constructor

public
ASN1ParsingException(String
a message concerning the exception.
message
,
Throwable
the exception that caused this exception to be thrown.
cause
)

Constructor when this exception is due to another one.

Method Summary

Modifier and TypeMethod and Description
public Throwable

Returns:

the exception causing this one, null if there isn't one.
getCause
()

Overrides java.lang.Throwable.getCause.

Return the underlying cause of this exception, if any.

Field Detail

causeback to summary
private Throwable cause

Hides java.lang.Throwable.cause.

Constructor Detail

ASN1ParsingExceptionback to summary
public ASN1ParsingException(String message)

Base constructor

Parameters
message:String

a message concerning the exception.

ASN1ParsingExceptionback to summary
public ASN1ParsingException(String message, Throwable cause)

Constructor when this exception is due to another one.

Parameters
message:String

a message concerning the exception.

cause:Throwable

the exception that caused this exception to be thrown.

Method Detail

getCauseback to summary
public Throwable getCause()

Overrides java.lang.Throwable.getCause.

Return the underlying cause of this exception, if any.

Returns:Throwable

the exception causing this one, null if there isn't one.