summaryrefslogtreecommitdiff
path: root/src/org/spongycastle/util/io/pem/PemGenerationException.java
blob: 0127ca0c7212650db84dd03f7d4661f6499bb639 (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
package org.spongycastle.util.io.pem;

import java.io.IOException;

@SuppressWarnings("serial")
public class PemGenerationException
    extends IOException
{
    private Throwable cause;

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

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

    public Throwable getCause()
    {
        return cause;
    }
}