C++ main module for stochmagnet Package  1.0
Public Member Functions | List of all members
SM_Exception Class Reference

this class describes the exceptions raised for SM package More...

#include <SM_Exception.h>

Inheritance diagram for SM_Exception:
Inheritance graph
[legend]
Collaboration diagram for SM_Exception:
Collaboration graph
[legend]

Public Member Functions

 SM_Exception ()
 build a matrix
More...
 
 SM_Exception (const tString &where, const tString &what)
 
 SM_Exception (const tString &module, const tString &method, const tString &what)
 
 SM_Exception (const tString &assertion, const tString &file, const tNaturalInteger &line, const tString &function)
 
 SM_Exception (const tString &module, const tString &assertion, const tString &file, const tNaturalInteger &line, const tString &function)
 
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...
 

Detailed Description

this class describes the exceptions raised for SM package

Constructor & Destructor Documentation

◆ SM_Exception() [1/5]

SM_Exception::SM_Exception ( )

build a matrix

◆ SM_Exception() [2/5]

SM_Exception::SM_Exception ( const tString where,
const tString what 
)

◆ SM_Exception() [3/5]

SM_Exception::SM_Exception ( const tString module,
const tString method,
const tString what 
)

◆ SM_Exception() [4/5]

SM_Exception::SM_Exception ( const tString assertion,
const tString file,
const tNaturalInteger line,
const tString function 
)

◆ SM_Exception() [5/5]

SM_Exception::SM_Exception ( const tString module,
const tString assertion,
const tString file,
const tNaturalInteger line,
const tString function 
)

Member Function Documentation

◆ getMemorySize()

tMemSize CORE_Exception::getMemorySize ( ) const
inlineinherited

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

◆ getMessage()

tString CORE_Exception::getMessage ( ) const
inlineinherited

return the message of the exception

References tString.

Referenced by SM_Run::run(), and CORE_Exception::toString().

Here is the caller graph for this function:

◆ toString()

virtual tString CORE_Exception::toString ( ) const
inlinevirtualinherited

return the message of the exception

References CORE_Exception::getMessage().

Here is the call graph for this function:

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