iText 9.8.1 API
iText.Bouncycastlefips.Cert.Ocsp.OcspExceptionBCFips Class Reference

Wrapper class for System.ArgumentException or System.ArgumentNullException, etc. which can be thrown in OCSP-related classes. More...

Inheritance diagram for iText.Bouncycastlefips.Cert.Ocsp.OcspExceptionBCFips:
iText.Commons.Bouncycastle.Cert.Ocsp.AbstractOcspException

Public Member Functions

  OcspExceptionBCFips (Exception exception)
  Creates new wrapper instance for OCSP exception. More...
 
  OcspExceptionBCFips (string exceptionMessage)
  Creates new wrapper instance for OCSP exception. More...
 
virtual Exception  GetException ()
  Gets actual OCSP exception being wrapped. More...
 
override bool  Equals (Object o)
  Indicates whether some other object is "equal to" this one. More...
 
override int  GetHashCode ()
  Returns a hash code value based on the wrapped object. More...
 
override String  ToString ()
  Delegates toString method call to the wrapped object. More...
 

Properties

override String  Message [get]
  Delegates getMessage method call to the wrapped exception. More...
 

Detailed Description

Wrapper class for System.ArgumentException or System.ArgumentNullException, etc. which can be thrown in OCSP-related classes.

Constructor & Destructor Documentation

◆ OcspExceptionBCFips() [1/2]

iText.Bouncycastlefips.Cert.Ocsp.OcspExceptionBCFips.OcspExceptionBCFips ( Exception  exception )
inline

Creates new wrapper instance for OCSP exception.

Parameters
exception Exception to be wrapped

◆ OcspExceptionBCFips() [2/2]

iText.Bouncycastlefips.Cert.Ocsp.OcspExceptionBCFips.OcspExceptionBCFips ( string  exceptionMessage )
inline

Creates new wrapper instance for OCSP exception.

Parameters
exceptionMessage message for the Exception to be wrapped

Member Function Documentation

◆ Equals()

override bool iText.Bouncycastlefips.Cert.Ocsp.OcspExceptionBCFips.Equals ( Object  o )
inline

Indicates whether some other object is "equal to" this one.

Indicates whether some other object is "equal to" this one. Compares wrapped objects.

◆ GetException()

virtual Exception iText.Bouncycastlefips.Cert.Ocsp.OcspExceptionBCFips.GetException ( )
inlinevirtual

Gets actual OCSP exception being wrapped.

Returns
wrapped exception.

◆ GetHashCode()

override int iText.Bouncycastlefips.Cert.Ocsp.OcspExceptionBCFips.GetHashCode ( )
inline

Returns a hash code value based on the wrapped object.

◆ ToString()

override String iText.Bouncycastlefips.Cert.Ocsp.OcspExceptionBCFips.ToString ( )
inline

Delegates toString method call to the wrapped object.

Property Documentation

◆ Message

override String iText.Bouncycastlefips.Cert.Ocsp.OcspExceptionBCFips.Message
get

Delegates getMessage method call to the wrapped exception.