File kernel/src/utils/SiconosException/SiconosMatrixException.hpp

Go to the source code of this file

class SiconosMatrixException : public SiconosException
#include <SiconosMatrixException.hpp>

Exception caused by a SiconosMatrix.

SiconosMatrixException must be throws when an error is find in a SiconosMatrix This exception can be caught by “catch(SiconosMatrixException)” or “catch(SiconosException)”

Public Functions

SiconosMatrixException()

constructor

SiconosMatrixException(const std::string &report)

constructor with a report

Parameters
  • report: exception description

~SiconosMatrixException()

destructor

Public Static Functions

static void selfThrow()

static function which throw a SiconosMatrixException

static void selfThrow(const std::string &report)

static function which throw a SiconosMatrixException with a report

Parameters
  • report: exception description
Exceptions