C++ mpi module for stochmagnet_main Package
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 an exception for the module
 
 SM_Exception (const tString &where, const tString &what)
 build an exception for the stoch magnet module More...
 
 SM_Exception (const tString &module, const tString &method, const tString &what)
 build an exception for the module More...
 
 SM_Exception (const tString &assertion, const tString &file, const tInteger &line, const tString &function)
 build an exception for the module More...
 
 SM_Exception (const tString &module, const tString &assertion, const tString &file, const tInteger &line, const tString &function)
 build an exception for the module More...
 
- Public Member Functions inherited from CORE_Exception
 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
 

Detailed Description

this class describes the exceptions raised for SM package

Constructor & Destructor Documentation

◆ SM_Exception() [1/4]

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

build an exception for the stoch magnet module

Parameters
[in]where: the method name where the error occurs
[in]what: the assertion which has failed

◆ SM_Exception() [2/4]

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

build an exception for the module

Parameters
[in]module: name of the package
[in]method: the method name where the error occurs
[in]what: the assertion which has failed

◆ SM_Exception() [3/4]

SM_Exception::SM_Exception ( const tString &  assertion,
const tString &  file,
const tInteger &  line,
const tString &  function 
)

build an exception for the module

Parameters
[in]assertion: the assertion which has failed
[in]file: the source file of the error
[in]line: the line of the error
[in]function: the method name where the error occurs

◆ SM_Exception() [4/4]

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

build an exception for the module

Parameters
[in]module: name of the package
[in]assertion: the assertion which has failed
[in]file: the source file of the error
[in]line: the line of the error
[in]function: the method name where the error occurs

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