The Sparta Modeling Framework
|
Exception indicating a misconfigured Parameter or invalid Parameter access. More...
#include <Parameter.hpp>
Public Member Functions | |
ParameterException ()=default | |
Default construction (rule of 3) | |
ParameterException (const ParameterException &)=default | |
Default copy (rule of 3) | |
ParameterException (const std::string &reason) | |
Construct with a default string. | |
virtual | ~ParameterException () noexcept |
Destructor. | |
template<class T > | |
ParameterException & | operator<< (const T &msg) |
Wrapper around SpartaException::operator<<. | |
Public Member Functions inherited from sparta::SpartaException | |
SpartaException () | |
Construct a SpartaException object with empty reason. | |
SpartaException (const std::string &reason) | |
Construct a SpartaException object. | |
SpartaException (const SpartaException &orig) | |
Copy construct a SpartaException object. | |
virtual | ~SpartaException () noexcept |
Destroy! | |
const char * | what () const noexcept |
Overload from std::exception. | |
std::string | backtrace () const noexcept |
Returns the backtrace at the time this exception was generated. | |
std::string | rawReason () const |
Return the raw reason without file, line information. | |
template<class T > | |
SpartaException & | operator<< (const T &msg) |
Append additional information to the message. | |
Exception indicating a misconfigured Parameter or invalid Parameter access.
Definition at line 57 of file Parameter.hpp.
|
inline |
Construct with a default string.
Definition at line 71 of file Parameter.hpp.
|
inlinevirtualnoexcept |
Destructor.
Definition at line 78 of file Parameter.hpp.
|
inline |
Wrapper around SpartaException::operator<<.
Definition at line 84 of file Parameter.hpp.