aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/spongycastle/pkix/src/main/java/org/spongycastle/dvcs/DVCSException.java
blob: 5aa8f51e7e219c26f460605e3cc20efba37339cf (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
package org.spongycastle.dvcs;

/**
 * General DVCSException.
 */
public class DVCSException
    extends Exception
{
    private static final long serialVersionUID = 389345256020131488L;

    private Throwable cause;

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

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

    public Throwable getCause()
    {
        return cause;
    }
}