C++ main module for stochmagnet Package
1.0
|
this class describes the exceptions raised for CORE package More...
#include <CORE_Exception.h>
Public Member Functions | |
CORE_Exception () | |
build an exception More... | |
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 More... | |
virtual tString | toString () const |
return the message of the exception More... | |
Friends | |
std::ostream & | operator<< (std::ostream &out, const CORE_Exception &obj) |
print the class object More... | |
this class describes the exceptions raised for CORE package
CORE_Exception::CORE_Exception | ( | ) |
build an exception
References CORE_Run::Out(), and CORE_Out::printError().
CORE_Exception::CORE_Exception | ( | const tString & | package | ) |
build an exception in package
[in] | package | : name of the package |
References CORE_Run::Out(), and CORE_Out::printError().
CORE_Exception::CORE_Exception | ( | const tString & | package, |
const tString & | where, | ||
const tString & | what | ||
) |
build an exeption in package, class and the explanation of error
[in] | package | : name of the package |
[in] | where | : method withe the error occurs |
[in] | what | : cause of the error |
References CORE_Run::Out(), CORE_Out::printError(), and tString.
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
[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 |
References CORE_Run::Out(), CORE_Out::printError(), and tString.
|
inline |
return the memory size of the class
|
inline |
return the message of the exception
References tString.
Referenced by SM_Run::run(), and toString().
|
inlinevirtual |
return the message of the exception
References getMessage().
|
friend |
print the class object
out | : output into printing |
obj | object to print |