#include <Partitioner.h>
Public Member Functions | |
| Exception (const std::string &mesg) | |
| < Exception thrown when something cannot be parsed. | |
| Exception (const std::string &mesg, const std::string &name, unsigned lnum=0) | |
| std::string | format () const |
| Format exception object into an error message; used by operator<<. | |
Public Attributes | |
| std::string | name |
| Optional name of input. | |
| unsigned | lnum |
| Line number (1-origin); zero if unknown. | |
| std::string | mesg |
| Error message. | |
Friends | |
| std::ostream & | operator<< (std::ostream &, const Exception &e) |
| Partitioner::IPDParser::Exception::Exception | ( | const std::string & | mesg | ) | [inline] |
< Exception thrown when something cannot be parsed.
| Partitioner::IPDParser::Exception::Exception | ( | const std::string & | mesg, | |
| const std::string & | name, | |||
| unsigned | lnum = 0 | |||
| ) | [inline] |
| std::string Partitioner::IPDParser::Exception::format | ( | ) | const |
Format exception object into an error message; used by operator<<.
| std::ostream& operator<< | ( | std::ostream & | , | |
| const Exception & | e | |||
| ) | [friend] |
| std::string Partitioner::IPDParser::Exception::name |
Optional name of input.
Line number (1-origin); zero if unknown.
| std::string Partitioner::IPDParser::Exception::mesg |
Error message.
1.4.7