CPKIFOCSPException Class Reference

#include <OCSPException.h>

Inheritance diagram for CPKIFOCSPException:

Inheritance graph
[legend]
Collaboration diagram for CPKIFOCSPException:

Collaboration graph
[legend]

List of all members.


Detailed Description

CPKIFOCSPException is derived from CPKIFException and is thrown by OCSP-related objects. It is derived from CPKIFException.

As a general rule, all PKIF operations should be performed inside a try/catch block capable of catching all CPKIFExceptions and/or all std::exceptions. CPKIFExceptions, or derived exception classes, are used to indicate operational exceptions within PKIF. std::exception objects are used to indicate out of memory errors. CPKIFExceptions are derived from std::exceptions. Thus all exceptions can be caught by catching std::exceptions. CPKIFException information can be obtained by casting the exception using dynamic_cast.

TSP-enforcing: No

Definition at line 27 of file OCSPException.h.


Public Member Functions

 CPKIFOCSPException (int subComponentID, int errorCode)
 CPKIFOCSPException (int subComponentID, int errorCode, char *fileName, int lineNumber)
 CPKIFOCSPException (int subComponentID, int errorCode, const char *errorDescription)
 CPKIFOCSPException (int subComponentID, int errorCode, const char *errorDescription, char *fileName, int lineNumber)
virtual ~CPKIFOCSPException (void) STDLIB_SUPER_THROW

Constructor & Destructor Documentation

CPKIFOCSPException::CPKIFOCSPException ( int  subComponentID,
int  errorCode 
)

Interface: External

These five constructors provide means of creating exception objects containing various combinations of exception-related information.

Returns:
None
Parameters:
subComponentID  [in] Integer identifying the subcomponent that generated the exception
errorCode  [in] Integer identifying the error condition that resulted in the exception

Definition at line 23 of file OCSPException.cpp.

CPKIFOCSPException::CPKIFOCSPException ( int  subComponentID,
int  errorCode,
char *  fileName,
int  lineNumber 
)

Interface: External

These five constructors provide means of creating exception objects containing various combinations of exception-related information.

Returns:
None
Parameters:
subComponentID  [in] Integer identifying the subcomponent that generated the exception
errorCode  [in] Integer identifying the error condition that resulted in the exception
fileName  [in] Pointer to a NULL-terminated string identifying the source file from which the exception was thrown
lineNumber  [in] Integer indicating the line number of the source file identified by the fileName parameter from which the exception was thrown

Definition at line 39 of file OCSPException.cpp.

CPKIFOCSPException::CPKIFOCSPException ( int  subComponentID,
int  errorCode,
const char *  errorDescription 
)

Interface: External

These five constructors provide means of creating exception objects containing various combinations of exception-related information.

Returns:
None
Parameters:
subComponentID  [in] Integer identifying the subcomponent that generated the exception
errorCode  [in] Integer identifying the error condition that resulted in the exception
errorDescription  [in] Pointer to a NULL-terminated string containing a free form textual description of the error condition that resulted in the exception scope

Definition at line 60 of file OCSPException.cpp.

CPKIFOCSPException::CPKIFOCSPException ( int  subComponentID,
int  errorCode,
const char *  errorDescription,
char *  fileName,
int  lineNumber 
)

Interface: External

These five constructors provide means of creating exception objects containing various combinations of exception-related information.

Returns:
None
Parameters:
subComponentID  [in] Integer identifying the subcomponent that generated the exception
errorCode  [in] Integer identifying the error condition that resulted in the exception
errorDescription  [in] Pointer to a NULL-terminated string containing a free form textual description of the error condition that resulted in the exception scope
fileName  [in] Pointer to a NULL-terminated string identifying the source file from which the exception was thrown
lineNumber  [in] Integer indicating the line number of the source file identified by the fileName parameter from which the exception was thrown

Definition at line 79 of file OCSPException.cpp.

CPKIFOCSPException::~CPKIFOCSPException ( void   )  [virtual]

Interface: External

This function destroys CPKIFOCSPException objects.

Returns:
None

Definition at line 102 of file OCSPException.cpp.


The documentation for this class was generated from the following files:

Generated on Mon Nov 15 11:20:30 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6