blob: beeb60bcdd232f0c53e083e9172fa0da540155d9 [file] [log] [blame]
package org.bouncycastle.crypto.io;
import java.io.IOException;
/**
* {@link IOException} wrapper around an exception indicating a problem with the use of a cipher.
*/
public class CipherIOException
extends IOException
{
private static final long serialVersionUID = 1L;
private final Throwable cause;
public CipherIOException(String message, Throwable cause)
{
super(message);
this.cause = cause;
}
public Throwable getCause()
{
return cause;
}
}