aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/spongycastle/pkix/src/main/java/org/spongycastle/eac/EACIOException.java
blob: 857a6f6a7401fa56cb4f37fdeb03f7c86a266afb (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
package org.spongycastle.eac;

import java.io.IOException;

/**
 * General IOException thrown in the cert package and its sub-packages.
 */
public class EACIOException
    extends IOException
{
    private Throwable cause;

    public EACIOException(String msg, Throwable cause)
    {
        super(msg);

        this.cause = cause;
    }

    public EACIOException(String msg)
    {
        super(msg);
    }

    public Throwable getCause()
    {
        return cause;
    }
}