Utopia 2
Framework for studying models of complex & adaptive systems.
|
An exception class for invalid positions in Utopia::Space. More...
#include <exceptions.hh>
Public Member Functions | |
template<class VecT , class Space > | |
OutOfSpace (const VecT &invalid_pos, const std::shared_ptr< Space > &space, const std::string prefix={}) | |
Construct the exception with the invalid position and the space given. | |
Public Member Functions inherited from Utopia::Exception | |
Exception (const std::string &what_arg, const int exit_code_arg=1) | |
Construct an Utopia-specific exception. | |
Exception (const char *what_arg, const int exit_code_arg=1) | |
Construct an Utopia-specific exception. | |
Additional Inherited Members | |
Public Attributes inherited from Utopia::Exception | |
const int | exit_code |
The exit code to use when exiting due to this exception. | |
An exception class for invalid positions in Utopia::Space.
|
inline |
Construct the exception with the invalid position and the space given.