Package com.itextpdf.bouncycastle.pkcs
Class PKCSExceptionBC
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.itextpdf.commons.bouncycastle.pkcs.AbstractPKCSException
com.itextpdf.bouncycastle.pkcs.PKCSExceptionBC
- All Implemented Interfaces:
-
Serializable
Wrapper class for
PKCSException
.
- See Also:
-
Constructor Summary
ConstructorDescriptionPKCSExceptionBC
(org.bouncycastle.pkcs.PKCSException pkcsException) Creates new wrapper instance forPKCSException
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether some other object is "equal to" this one.DelegatesgetMessage
method call to the wrapped exception.org.bouncycastle.pkcs.PKCSException
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
-
PKCSExceptionBC
public PKCSExceptionBC(org.bouncycastle.pkcs.PKCSException pkcsException) Creates new wrapper instance forPKCSException
.- Parameters:
-
pkcsException
-PKCSException
to be wrapped
-
-
Method Details
-
getPkcsException
public org.bouncycastle.pkcs.PKCSException getPkcsException()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
PKCSException
.
-
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
-