Package com.itextpdf.bouncycastle.tsp
Class TSPExceptionBC
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.itextpdf.commons.bouncycastle.tsp.AbstractTSPException
com.itextpdf.bouncycastle.tsp.TSPExceptionBC
- All Implemented Interfaces:
-
Serializable
Wrapper class for
TSPException
.
- See Also:
-
Constructor Summary
ConstructorDescriptionTSPExceptionBC
(org.bouncycastle.tsp.TSPException tspException) Creates new wrapper instance forTSPException
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether some other object is "equal to" this one.DelegatesgetMessage
method call to the wrapped exception.org.bouncycastle.tsp.TSPException
Gets actual org.bouncycastle object being wrapped.int
hashCode()
Returns a hash code value based on the wrapped object.toString()
DelegatestoString
method call to the wrapped object.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
TSPExceptionBC
public TSPExceptionBC(org.bouncycastle.tsp.TSPException tspException) Creates new wrapper instance forTSPException
.- Parameters:
-
tspException
-TSPException
to be wrapped
-
-
Method Details
-
getTSPException
public org.bouncycastle.tsp.TSPException getTSPException()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
TSPException
.
-
equals
Indicates whether some other object is "equal to" this one. Compares wrapped objects. -
hashCode
public int hashCode()Returns a hash code value based on the wrapped object. -
toString
DelegatestoString
method call to the wrapped object. -
getMessage
DelegatesgetMessage
method call to the wrapped exception.- Overrides:
-
getMessage
in classThrowable
-