Partitioner::IPDParser::Exception Class Reference

#include <Partitioner.h>

List of all members.

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)


Constructor & Destructor Documentation

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]


Member Function Documentation

std::string Partitioner::IPDParser::Exception::format (  )  const

Format exception object into an error message; used by operator<<.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  ,
const Exception e 
) [friend]


Member Data Documentation

std::string Partitioner::IPDParser::Exception::name

Optional name of input.

unsigned Partitioner::IPDParser::Exception::lnum

Line number (1-origin); zero if unknown.

std::string Partitioner::IPDParser::Exception::mesg

Error message.


The documentation for this class was generated from the following file:
Generated on Tue Jan 31 05:34:23 2012 for ROSE by  doxygen 1.4.7