#include <exceptions.hh>
Public Member Functions | |
| WrongInputException (const std::string &disc) throw () | |
| WrongInputException (const std::string &file, const unsigned int line, const std::string &function, const std::string &disc=std::string("")) throw () | |
| virtual const char * | what () const throw () |
| Output default function. | |
| void | setFields (const std::string &file, const unsigned int line, const std::string &function, const std::string &excName) throw () |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const throw () |
| Returns information in an output stream. | |
Protected Attributes | |
| std::string | outputMessage_ |
| std::string | disc_ |
| std::string | file_ |
| Filename where the exception was thrown from. | |
| unsigned int | line_ |
| Line where the exception was thrown from. | |
| std::string | function_ |
| Name of the function that threw the exception. | |
| std::string | excName_ |
| The name of the exception with calling sequence. | |
Exception class to express an input criteria was not met.
Definition at line 152 of file exceptions.hh.
| concepts::WrongInputException::WrongInputException | ( | const std::string & | file, |
| const unsigned int | line, | ||
| const std::string & | function, | ||
| const std::string & | disc = std::string("") |
||
| ) | |||
| throw | ( | ||
| ) | |||
Constructor.
| file | Filename where the exception was thrown from |
| line | Line where the exception was thrown from |
| function | Name of the function that threw the exception |
| excName | The name of the exception |
| desc | Description of the error |
|
protectedvirtual | ||||||||||||||
Returns information in an output stream.
Reimplemented from concepts::ExceptionBase.
|
inherited | ||||||||||||||||||||||||||||
Sets the fields of this exception.
| file | Filename where the exception was thrown from |
| line | Line where the exception was thrown from |
| function | Name of the function that threw the exception |
| excName | The name of the exception |
|
protected |
Definition at line 179 of file exceptions.hh.
|
protectedinherited |
The name of the exception with calling sequence.
Definition at line 132 of file exceptions.hh.
|
protectedinherited |
Filename where the exception was thrown from.
Definition at line 123 of file exceptions.hh.
|
protectedinherited |
Name of the function that threw the exception.
Definition at line 129 of file exceptions.hh.
Line where the exception was thrown from.
Definition at line 126 of file exceptions.hh.
|
mutableprotected |
Definition at line 177 of file exceptions.hh.