Class OCSPExceptionBC
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.itextpdf.commons.bouncycastle.cert.ocsp.AbstractOCSPException
com.itextpdf.bouncycastle.cert.ocsp.OCSPExceptionBC
- All Implemented Interfaces:
-
Serializable
Wrapper class for
OCSPException
.
- See Also:
-
Constructor Summary
ConstructorDescriptionOCSPExceptionBC
(org.bouncycastle.cert.ocsp.OCSPException exception) Creates new wrapper instance forOCSPException
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether some other object is "equal to" this one.org.bouncycastle.cert.ocsp.OCSPException
Gets actual org.bouncycastle object being wrapped.DelegatesgetMessage
method call to the wrapped exception.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
-
OCSPExceptionBC
public OCSPExceptionBC(org.bouncycastle.cert.ocsp.OCSPException exception) Creates new wrapper instance forOCSPException
.- Parameters:
-
exception
-OCSPException
to be wrapped
-
-
Method Details
-
getException
public org.bouncycastle.cert.ocsp.OCSPException getException()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
OCSPException
.
-
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
-