1package org.bouncycastle.cert;
2
3import java.io.IOException;
4
5/**
6 * General IOException thrown in the cert package and its sub-packages.
7 */
8public class CertIOException
9    extends IOException
10{
11    private Throwable cause;
12
13    public CertIOException(String msg, Throwable cause)
14    {
15        super(msg);
16
17        this.cause = cause;
18    }
19
20    public CertIOException(String msg)
21    {
22        super(msg);
23    }
24
25    public Throwable getCause()
26    {
27        return cause;
28    }
29}
30