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

Go to the source code of this file

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

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