aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/spongycastle/mail/src/main/java/org/spongycastle/mail/smime/SMIMEException.java
blob: fe7499cfbdc7340173dff0ea7f134e7c4ee20773 (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.bouncycastle.mail.smime;

public class SMIMEException 
    extends Exception 
{
    Exception   e;

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

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

        this.e = e;
    }

    public Exception getUnderlyingException()
    {
        return e;
    }
     
    public Throwable getCause()
    {
        return e;
    }
}