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:
java.io.Serializable
public class PEMExceptionBC extends AbstractPEMException
Wrapper class forPEMException.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private org.bouncycastle.openssl.PEMExceptionpemException
-
Constructor Summary
Constructors Constructor Description PEMExceptionBC(org.bouncycastle.openssl.PEMException pemException)Creates new wrapper instance forPEMException.
-
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.java.lang.StringgetMessage()DelegatesgetMessagemethod call to the wrapped exception.org.bouncycastle.openssl.PEMExceptiongetPemException()Gets actual org.bouncycastle object being wrapped.inthashCode()Returns a hash code value based on the wrapped object.java.lang.StringtoString()DelegatestoStringmethod call to the wrapped object.
-
-
-
Method Detail
-
getPemException
public org.bouncycastle.openssl.PEMException getPemException()
Gets actual org.bouncycastle object being wrapped.- Returns:
- wrapped
PEMException.
-
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
-
-