this class describes the exceptions raised for CORE package
More...
#include <CORE_Exception.h>
|
|
| CORE_Exception () |
| | build an exception
|
| |
| | CORE_Exception (const tString &package) |
| | build an exception in package More...
|
| |
| | CORE_Exception (const tString &package, const tString &where, const tString &what) |
| | build an exeption in package, class and the explanation of error More...
|
| |
| | CORE_Exception (const tString &package, const tString &assertion, const tString &file, const tInteger &line, const tString &function) |
| | build an exeption in package, class and the explanation of error More...
|
| |
| tMemSize | getMemorySize () const |
| | return the memory size of the class More...
|
| |
|
tString | getMessage () const |
| | return the message of the exception
|
| |
|
virtual tString | toString () const |
| | return the message of the exception
|
| |
this class describes the exceptions raised for CORE package
◆ CORE_Exception() [1/3]
| CORE_Exception::CORE_Exception |
( |
const tString & |
package | ) |
|
build an exception in package
- Parameters
-
| [in] | package | : name of the package |
◆ CORE_Exception() [2/3]
| CORE_Exception::CORE_Exception |
( |
const tString & |
package, |
|
|
const tString & |
where, |
|
|
const tString & |
what |
|
) |
| |
build an exeption in package, class and the explanation of error
- Parameters
-
| [in] | package | : name of the package |
| [in] | where | : method withe the error occurs |
| [in] | what | : cause of the error |
◆ CORE_Exception() [3/3]
| CORE_Exception::CORE_Exception |
( |
const tString & |
package, |
|
|
const tString & |
assertion, |
|
|
const tString & |
file, |
|
|
const tInteger & |
line, |
|
|
const tString & |
function |
|
) |
| |
build an exeption in package, class and the explanation of error
- Parameters
-
| [in] | package | : name of the package |
| [in] | assertion | : the assertion which has failed |
| [in] | file | : name of the file |
| [in] | line | : line of the error |
| [in] | function | function name of the error |
◆ getMemorySize()
| tMemSize CORE_Exception::getMemorySize |
( |
| ) |
const |
|
inline |
return the memory size of the class
- Returns
- the memory size of the class in bytes 1 octet = 1 byte 1 Ko = 1024 bytes 1 Mo = 1024 Ko 1 Go = 1024 Mo
◆ operator<<
| std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const CORE_Exception & |
obj |
|
) |
| |
|
friend |
print the class object
- Parameters
-
| out | : output into printing |
| obj | object to print |
- Returns
- the output
The documentation for this class was generated from the following files:
- /home/despreau/Developpement/CPP/devcpp20/include/core/CORE_Exception.h
- /home/despreau/Developpement/CPP/devcpp20/src/core/CORE_Exception.cpp