Regina 7.3 Calculation Engine
Public Member Functions | List of all members
regina::InvalidArgument Class Reference

An exception thrown when invalid or unsupported arguments are passed into a function. More...

#include <utilities/exception.h>

Inheritance diagram for regina::InvalidArgument:
regina::ReginaException

Public Member Functions

 InvalidArgument (const std::string &msg)
 
 InvalidArgument (const char *msg)
 
 InvalidArgument (const InvalidArgument &) noexcept=default
 
InvalidArgumentoperator= (const InvalidArgument &) noexcept=default
 

Detailed Description

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.


The documentation for this class was generated from the following file:

Copyright © 1999-2023, The Regina development team
This software is released under the GNU General Public License, with some additional permissions; see the source code for details.
For further information, or to submit a bug or other problem, please contact Ben Burton (bab@maths.uq.edu.au).