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:
java.io.Serializable
public class OCSPExceptionBC extends AbstractOCSPException
Wrapper class forOCSPException.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private org.bouncycastle.cert.ocsp.OCSPExceptionexception
-
Constructor Summary
Constructors Constructor Description OCSPExceptionBC(org.bouncycastle.cert.ocsp.OCSPException exception)Creates new wrapper instance forOCSPException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)Indicates whether some other object is "equal to" this one.org.bouncycastle.cert.ocsp.OCSPExceptiongetException()Gets actual org.bouncycastle object being wrapped.java.lang.StringgetMessage()DelegatesgetMessagemethod call to the wrapped exception.inthashCode()Returns a hash code value based on the wrapped object.java.lang.StringtoString()DelegatestoStringmethod call to the wrapped object.
-
-
-
Method Detail
-
getException
public org.bouncycastle.cert.ocsp.OCSPException getException()
Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
OCSPException.
-
equals
public boolean equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one. Compares wrapped objects.- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
Returns a hash code value based on the wrapped object.- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
DelegatestoStringmethod call to the wrapped object.- Overrides:
toStringin classjava.lang.Throwable
-
getMessage
public java.lang.String getMessage()
DelegatesgetMessagemethod call to the wrapped exception.- Overrides:
getMessagein classjava.lang.Throwable
-
-