aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/spongycastle/pkix/src/main/java/org/spongycastle/tsp/TSPIOException.java
blob: 418ff1b2cf00a16265069a4ab8e3e37880851995 (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
package org.spongycastle.tsp;

import java.io.IOException;

public class TSPIOException
    extends IOException
{
    Throwable underlyingException;

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

    public TSPIOException(String message, Throwable e)
    {
        super(message);
        underlyingException = e;
    }

    public Exception getUnderlyingException()
    {
        return (Exception)underlyingException;
    }

    public Throwable getCause()
    {
        return underlyingException;
    }
}