aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/spongycastle/core/src/main/java/org/spongycastle/asn1/ASN1ParsingException.java
blob: 77e5cf21fe41b7d0ebad73cf0dd9f381bea34040 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package org.spongycastle.asn1;

public class ASN1ParsingException
    extends IllegalStateException
{
    private Throwable cause;

    public ASN1ParsingException(String message)
    {
        super(message);
    }

    public ASN1ParsingException(String message, Throwable cause)
    {
        super(message);
        this.cause = cause;
    }

    public Throwable getCause()
    {
        return cause;
    }
}