org.bouncycastle.tsp.ers.ERSException Maven / Gradle / Ivy
package org.bouncycastle.tsp.ers;
/**
* Exception thrown if an Archive TimeStamp according to RFC4998 fails to containsHashValue.
*
* {@see RFC4998}
*/
public class ERSException
extends Exception
{
private final Throwable cause;
public ERSException(final String message)
{
this(message, null);
}
public ERSException(final String message, Throwable cause)
{
super(message);
this.cause = cause;
}
public Throwable getCause()
{
return cause;
}
}