1package org.bouncycastle.asn1;
2
3public class ASN1ParsingException
4    extends IllegalStateException
5{
6    private Throwable cause;
7
8    public ASN1ParsingException(String message)
9    {
10        super(message);
11    }
12
13    public ASN1ParsingException(String message, Throwable cause)
14    {
15        super(message);
16        this.cause = cause;
17    }
18
19    public Throwable getCause()
20    {
21        return cause;
22    }
23}
24