Class SiconosVectorException

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

class SiconosVectorException : public SiconosException

Exception caused by a SiconosVector.

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

Public Functions

SiconosVectorException()

constructor

SiconosVectorException(const std::string &report)

constructor with a report

Parameters
  • report: exception description

~SiconosVectorException()

destructor

Public Static Functions

static void selfThrow()

static function which throw a SiconosVectorException

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

static function which throw a SiconosVectorException with a report

Parameters
  • report: exception description
Exceptions