Class PEMExceptionBC

All Implemented Interfaces:
Serializable

public class PEMExceptionBC extends AbstractPEMException
Wrapper class for PEMException.
See Also:
  • Constructor Details

    • PEMExceptionBC

      public PEMExceptionBC (org.bouncycastle.openssl.PEMException pemException)
      Creates new wrapper instance for PEMException.
      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

      public boolean equals (Object o)
      Indicates whether some other object is "equal to" this one. Compares wrapped objects.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Returns a hash code value based on the wrapped object.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Delegates toString method call to the wrapped object.
      Overrides:
      toString in class Throwable
    • getMessage

      public String getMessage()
      Delegates getMessage method call to the wrapped exception.
      Overrides:
      getMessage in class Throwable