Class OCSPExceptionBC

All Implemented Interfaces:
Serializable

public class OCSPExceptionBC extends AbstractOCSPException
Wrapper class for OCSPException.
See Also:
  • Constructor Details

    • OCSPExceptionBC

      public OCSPExceptionBC (org.bouncycastle.cert.ocsp.OCSPException exception)
      Creates new wrapper instance for OCSPException.
      Parameters:
      exception - OCSPException to be wrapped
  • Method Details

    • getException

      public org.bouncycastle.cert.ocsp.OCSPException getException()
      Gets actual org.bouncycastle object being wrapped.
      Returns:
      wrapped OCSPException.
    • 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