pelib  2.0.0
pelib::ParseException Class Reference

#include <ParseException.hpp>

List of all members.

Public Member Functions

 ParseException (const std::string &msg)
 ParseException (const char *msg)
virtual ~ParseException () throw ()
virtual const char * what () const throw ()

Protected Attributes

std::string msg

Detailed Description

Thrown upon any failed attempt to parse a data structure from input stream

Definition at line 30 of file ParseException.hpp.


Constructor & Destructor Documentation

Consutrctor

Parameters:
msgHuman-readable explicative message that describes teh reason why this class instance was thrown

Definition at line 32 of file ParseException.cpp.

pelib::ParseException::ParseException ( const char *  msg) [explicit]

Consutrctor

Parameters:
msgHuman-readable explicative message that describes teh reason why this class instance was thrown

Definition at line 37 of file ParseException.cpp.

Destructor

Definition at line 42 of file ParseException.cpp.


Member Function Documentation

const char * pelib::ParseException::what ( ) const throw () [virtual]

Returns a human-readable string to display if the exception was not caught

Definition at line 45 of file ParseException.cpp.


Member Data Documentation

Descriptive message on the reason why the exception was thrown

Definition at line 52 of file ParseException.hpp.


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