Top Description Fields Constructors Methods
org.bouncycastle.asn1

public Class ASN1Exception

extends IOException
Class Inheritance
Imports
java.io.IOException

Exception thrown in cases of corrupted or unexpected data in a stream.

Field Summary

Modifier and TypeField and Description
private Throwable

Constructor Summary

AccessConstructor and Description
pack-priv
ASN1Exception(String
a message concerning the exception.
message
)

Base constructor

pack-priv
ASN1Exception(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

ASN1Exceptionback to summary
pack-priv ASN1Exception(String message)

Base constructor

Parameters
message:String

a message concerning the exception.

ASN1Exceptionback to summary
pack-priv ASN1Exception(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.