package org.bouncycastle.util.io.pem; | |
import java.io.IOException; | |
/** | |
* Exception thrown on failure to generate a PEM object. | |
*/ | |
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; | |
} | |
} |