summaryrefslogtreecommitdiffstats
path: root/bcprov/src/main/java/org/bouncycastle/asn1/ASN1Exception.java
blob: dc0ee2030c5e44231a583fd891bc73cd20a00266 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package org.bouncycastle.asn1;

import java.io.IOException;

public class ASN1Exception
    extends IOException
{
    private Throwable cause;

    ASN1Exception(String message)
    {
        super(message);
    }

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

    public Throwable getCause()
    {
        return cause;
    }
}