Class SiconosException

Defined in Program listing for file kernel/src/utils/SiconosException/SiconosException.hpp

class SiconosException

General Siconos Exception.

SiconosException should not be throws directly; prefer to use an inherit class This exception can be caught by “catch(SiconosException)”

Subclassed by RuntimeException, SiconosMatrixException, SiconosMemoryException, SiconosSharedLibraryException, SiconosVectorException

Public Functions

SiconosException()

constructor

SiconosException(const std::string &report)

constructor with a report

Parameters
  • report: exception description

virtual ~SiconosException()

destructor

std::string report() const

return the report of the exception

Return
std::string report : exception description