Class PEMExceptionBC
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.itextpdf.commons.bouncycastle.openssl.AbstractPEMException
com.itextpdf.bouncycastle.openssl.PEMExceptionBC
- All Implemented Interfaces:
-
Serializable
Wrapper class for
PEMException
.
- See Also:
-
Constructor Summary
ConstructorDescriptionPEMExceptionBC
(org.bouncycastle.openssl.PEMException pemException) Creates new wrapper instance forPEMException
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether some other object is "equal to" this one.DelegatesgetMessage
method call to the wrapped exception.org.bouncycastle.openssl.PEMException
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
-
PEMExceptionBC
public PEMExceptionBC(org.bouncycastle.openssl.PEMException pemException) Creates new wrapper instance forPEMException
.- Parameters:
-
pemException
-PEMException
to be wrapped
-
-
Method Details
-
getPemException
public org.bouncycastle.openssl.PEMException getPemException()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
PEMException
.
-
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
-