ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Partitioner::IPDParser::Exception Class Reference

Exception thrown when something cannot be parsed. More...

#include <Partitioner.h>

Inheritance diagram for Partitioner::IPDParser::Exception:
Collaboration diagram for Partitioner::IPDParser::Exception:

Public Member Functions

 Exception (const std::string &mesg)
 
 Exception (const std::string &mesg, const std::string &name, unsigned lnum=0)
 
 ~Exception () throw ()
 
std::string format () const
 Format exception object into an error message; used by operator<<. More...
 

Public Attributes

std::string name
 Optional name of input. More...
 
unsigned lnum
 Line number (1-origin); zero if unknown. More...
 

Friends

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

Detailed Description

Exception thrown when something cannot be parsed.

Definition at line 1765 of file Partitioner.h.

Constructor & Destructor Documentation

Partitioner::IPDParser::Exception::Exception ( const std::string &  mesg)
inline

Definition at line 1767 of file Partitioner.h.

Partitioner::IPDParser::Exception::Exception ( const std::string &  mesg,
const std::string &  name,
unsigned  lnum = 0 
)
inline

Definition at line 1769 of file Partitioner.h.

Partitioner::IPDParser::Exception::~Exception ( )
throw (
)
inline

Definition at line 1771 of file Partitioner.h.

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.

Definition at line 1775 of file Partitioner.h.

unsigned Partitioner::IPDParser::Exception::lnum

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

Definition at line 1776 of file Partitioner.h.


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