solver  1.0
Public Member Functions | List of all members
InvalidArgument Class Reference

Exception is thrown if a method is given invalid parameters or a user provides invalid program arguments. More...

#include <Exceptions.h>

+ Inheritance diagram for InvalidArgument:
+ Collaboration diagram for InvalidArgument:

Public Member Functions

 InvalidArgument (const std::string &caller, const std::string &msg)
 
- Public Member Functions inherited from SolverException
 SolverException (const std::string &caller, const std::string &msg)
 Constructs the exception, it comprises building of the error string and vector of lines. More...
 
virtual const char * what () const throw ()
 Virtual method returns the error message without an indentation.
 
virtual std::string whatIndented (uint32_t level=0) const throw ()
 Virtual function returning the formatted error message. More...
 
virtual ~SolverException () throw ()
 Virtual destructor is mandatory due to the polymorphism.
 

Additional Inherited Members

- Protected Attributes inherited from SolverException
std::string mWhatStr
 The formated error message without an indentation.
 
std::vector< std::string > mWhat
 Individual lines of the error message.
 

Detailed Description

Exception is thrown if a method is given invalid parameters or a user provides invalid program arguments.

Definition at line 120 of file Exceptions.h.


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