org.bouncycastle.crypto.io.CipherIOException Maven / Gradle / Ivy
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;
}
}