Public Member Functions | Friends | List of all members
Rose::BinaryAnalysis::VxcoreParser::Exception Class Reference


Exception thrown for parse errors.

Definition at line 51 of file BinaryVxcoreParser.h.

#include <frontend/BinaryFormats/BinaryVxcoreParser.h>

Inheritance diagram for Rose::BinaryAnalysis::VxcoreParser::Exception:
Inheritance graph
Collaboration diagram for Rose::BinaryAnalysis::VxcoreParser::Exception:
Collaboration graph

Public Member Functions

 Exception (const boost::filesystem::path &fileName, size_t offset, const std::string &what)
 Create a new exception with a location and error message. More...
std::string toString () const
 Render this exception as a string. More...
void print (std::ostream &out) const
 Emit this exception to a stream. More...
- Public Member Functions inherited from Rose::Exception
 Exception (const std::string &s)
 Construct an exception with an error message. More...


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

Constructor & Destructor Documentation

Rose::BinaryAnalysis::VxcoreParser::Exception::Exception ( const boost::filesystem::path &  fileName,
size_t  offset,
const std::string &  what 

Create a new exception with a location and error message.

Definition at line 57 of file BinaryVxcoreParser.h.

Member Function Documentation

std::string Rose::BinaryAnalysis::VxcoreParser::Exception::toString ( ) const

Render this exception as a string.

Definition at line 63 of file BinaryVxcoreParser.h.

References Rose::StringUtility::cEscape().

Referenced by print().

void Rose::BinaryAnalysis::VxcoreParser::Exception::print ( std::ostream &  out) const

Emit this exception to a stream.

No trailing linefeed is emitted.

Definition at line 70 of file BinaryVxcoreParser.h.

References toString().

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