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
ConstructorsConstructorDescriptionOCSPExceptionBC(org.bouncycastle.cert.ocsp.OCSPException exception) Creates new wrapper instance forOCSPException. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.org.bouncycastle.cert.ocsp.OCSPExceptionGets actual org.bouncycastle object being wrapped.DelegatesgetMessagemethod call to the wrapped exception.inthashCode()Returns a hash code value based on the wrapped object.toString()DelegatestoStringmethod 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-OCSPExceptionto 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
DelegatestoStringmethod call to the wrapped object. -
getMessage
DelegatesgetMessagemethod call to the wrapped exception.- Overrides:
-
getMessagein classThrowable
-