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:
java.io.Serializable
public class TSPExceptionBC extends AbstractTSPException
Wrapper class forTSPException
.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private org.bouncycastle.tsp.TSPException
tspException
-
Constructor Summary
Constructors Constructor Description TSPExceptionBC(org.bouncycastle.tsp.TSPException tspException)
Creates new wrapper instance forTSPException
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one.java.lang.String
getMessage()
DelegatesgetMessage
method call to the wrapped exception.org.bouncycastle.tsp.TSPException
getTSPException()
Gets actual org.bouncycastle object being wrapped.int
hashCode()
Returns a hash code value based on the wrapped object.java.lang.String
toString()
DelegatestoString
method call to the wrapped object.
-
-
-
Method Detail
-
getTSPException
public org.bouncycastle.tsp.TSPException getTSPException()
Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
TSPException
.
-
equals
public boolean equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one. Compares wrapped objects.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Returns a hash code value based on the wrapped object.- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
DelegatestoString
method call to the wrapped object.- Overrides:
toString
in classjava.lang.Throwable
-
getMessage
public java.lang.String getMessage()
DelegatesgetMessage
method call to the wrapped exception.- Overrides:
getMessage
in classjava.lang.Throwable
-
-