#include <cel_exception.h>

Public Member Functions | |
| 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) | |
| Exception & | operator= (const Exception &inException) |
| GeneralErrorDefinition | getError () const |
| String | getMessage () const |
| virtual const char * | what () const throw () |
Definition at line 75 of file cel_exception.h.
| Celartem::Exception::Exception | ( | GeneralErrorDefinition | inError, | |
| const char * | inErrorDesc, | |||
| const char * | inFileName, | |||
| int | inLine, | |||
| const char * | inFuncName = "" | |||
| ) |
Create a new Exception. This constructor should not be called directly, you had better use celThrow, celThrow2 macros.
| inError | An error code defined in GeneralErrorDefinition. | |
| inErrorDesc | A string that represents the details of the error status. | |
| inFileName | A filename of the source file that contains the caller. Usually, you should set __FILE__ macro. | |
| inLine | A line number in the source file that contains the caller. Usually, you should set __LINE__ macro. | |
| inFuncName | The name of the function that throws this exception. You can set __FUNCTION__ macro for this parameter. |
| Celartem::Exception::Exception | ( | GeneralErrorDefinition | inError, | |
| const String & | inErrorDesc, | |||
| const char * | inFileName, | |||
| int | inLine, | |||
| const char * | inFuncName = "" | |||
| ) |
Create a new Exception. This constructor should not be called directly, you had better use celThrow, celThrow2 macros.
| inError | An error code defined in GeneralErrorDefinition. | |
| inErrorDesc | A string that represents the details of the error status. | |
| inFileName | A filename of the source file that contains the caller. Usually, you should set __FILE__ macro. | |
| inLine | A line number in the source file that contains the caller. Usually, you should set __LINE__ macro. | |
| inFuncName | The name of the function that throws this exception. You can set __FUNCTION__ macro for this parameter. |
| Celartem::Exception::Exception | ( | const Exception & | inException | ) |
Duplicate the exception.
| inException | An Logs instance to duplicate. |
Duplicate the exception.
| inException | An Logs instance to duplicate. |
| GeneralErrorDefinition Celartem::Exception::getError | ( | ) | const |
Gets the error code.
| String Celartem::Exception::getMessage | ( | ) | const |
| virtual const char* Celartem::Exception::what | ( | ) | const throw () [virtual] |
Get the error message.