Class TSPExceptionBC

All Implemented Interfaces:
Serializable

public class TSPExceptionBC extends AbstractTSPException
Wrapper class for TSPException.
See Also:
  • Constructor Details

    • TSPExceptionBC

      public TSPExceptionBC (org.bouncycastle.tsp.TSPException tspException)
      Creates new wrapper instance for TSPException.
      Parameters:
      tspException - TSPException to be wrapped
  • Method Details

    • getTSPException

      public org.bouncycastle.tsp.TSPException getTSPException()
      Gets actual org.bouncycastle object being wrapped.
      Returns:
      wrapped TSPException.
    • 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