aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/spongycastle/prov/src/main/java/org/spongycastle/ocsp/OCSPException.java
blob: 61516757f7ca1f7ac12541940bef60f173b2e77e (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
26
27
28
29
30
31
32
package org.spongycastle.ocsp;

public class OCSPException
    extends Exception
{
    Exception   e;

    public OCSPException(
        String name)
    {
        super(name);
    }

    public OCSPException(
        String name,
        Exception e)
    {
        super(name);

        this.e = e;
    }

    public Exception getUnderlyingException()
    {
        return e;
    }

    public Throwable getCause()
    {
        return e;
    }
}