Regina 7.0 Calculation Engine
|
An exception thrown when invalid or unsupported arguments are passed into a function. More...
#include <utilities/exception.h>
Public Member Functions | |
InvalidArgument (const std::string &msg) | |
InvalidArgument (const char *msg) | |
InvalidArgument (const InvalidArgument &) noexcept=default | |
InvalidArgument & | operator= (const InvalidArgument &) noexcept=default |
An exception thrown when invalid or unsupported arguments are passed into a function.
The line between failed preconditions and invalid input arguments is not always clear, and so the roles of FailedPrecondition versus InvalidArgument are not clear-cut. Where relevant, each routine will document clearly which exception type it uses.
All member functions follow the same pattern as the parent class ReginaException, and are not documented again here.