Public Member Functions | List of all members
Celartem::DjVu::SecurityException Class Reference

#include <djv_security.h>

Inheritance diagram for Celartem::DjVu::SecurityException:
Inheritance graph
[legend]

Public Member Functions

 SecurityException (const SecurityProvider *inSecurityProvider, GeneralErrorDefinition inError, const char *inErrorDesc, const char *inFileName, int inLine, const char *inFuncName="")
 
 SecurityException (const SecurityProvider *inSecurityProvider, GeneralErrorDefinition inError, const String &inErrorDesc, const char *inFileName, int inLine, const char *inFuncName="")
 
const SecurityProvidergetSecurityProvider () const
 
- Public Member Functions inherited from Celartem::Exception
 Exception (GeneralErrorDefinition inError, const char *inErrorDesc, const char *inFileName, int inLine, const char *inFuncName="")
 
 Exception (GeneralErrorDefinition inError, const String &inErrorDesc, const char *inFileName, int inLine, const char *inFuncName="")
 
 Exception (const Exception &inException)
 
Exceptionoperator= (const Exception &inException)
 
GeneralErrorDefinition getError () const
 
String getMessage () const
 
virtual const char * what () const throw ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Celartem::Exception
static void setOnExceptionCallback (void(*onExcepionCallback)(const Exception &))
 

Detailed Description

Special exception class dedicated to transfer SecurityProvider for reference purpose.

Constructor & Destructor Documentation

Celartem::DjVu::SecurityException::SecurityException ( const SecurityProvider inSecurityProvider,
GeneralErrorDefinition  inError,
const char *  inErrorDesc,
const char *  inFileName,
int  inLine,
const char *  inFuncName = "" 
)
inline

Create a new SecurityException.

Parameters
inErrorAn error code defined in GeneralErrorDefinition.
inErrorDescA string that represents the details of the error status.
inFileNameA filename of the source file that contains the caller. Usually, you should set FILE macro.
inLineA line number in the source file that contains the caller. Usually, you should set LINE macro.
inFuncNameThe name of the function that throws this exception. You can set FUNCTION macro for this parameter.
See Also
Exception, celThrow, celThrow2
Celartem::DjVu::SecurityException::SecurityException ( const SecurityProvider inSecurityProvider,
GeneralErrorDefinition  inError,
const String inErrorDesc,
const char *  inFileName,
int  inLine,
const char *  inFuncName = "" 
)
inline

Create a new SecurityException.

Parameters
inErrorAn error code defined in GeneralErrorDefinition.
inErrorDescA string that represents the details of the error status.
inFileNameA filename of the source file that contains the caller. Usually, you should set FILE macro.
inLineA line number in the source file that contains the caller. Usually, you should set LINE macro.
inFuncNameThe name of the function that throws this exception. You can set FUNCTION macro for this parameter.
See Also
Exception, celThrow, celThrow2

Member Function Documentation

const SecurityProvider* Celartem::DjVu::SecurityException::getSecurityProvider ( ) const
inline

Get the related SecurityProvider instance.

Returns
Associated SecurityProvider instance.

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

Cuminas DjVu SDK 3.0.33103
This document is made with doxygen 1.8.5 at Sun Dec 15 2013 19:38:07.
Cuminas Logo