summaryrefslogtreecommitdiffstats
path: root/bcpkix/src/main/java/org/bouncycastle/eac/EACIOException.java
blob: 8aa480bcaabbdd861c943e56d3b9f9218513ee0d (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.bouncycastle.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;
    }
}