ROSE
0.11.137.0
|
Exception thrown for parse errors.
Definition at line 51 of file BinaryVxcoreParser.h.
#include <frontend/BinaryFormats/BinaryVxcoreParser.h>
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... | |
![]() | |
Exception (const std::string &s) | |
Construct an exception with an error message. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &out, const Exception &e) |
|
inline |
Create a new exception with a location and error message.
Definition at line 57 of file BinaryVxcoreParser.h.
|
inline |
Render this exception as a string.
Definition at line 63 of file BinaryVxcoreParser.h.
References Rose::StringUtility::cEscape().
Referenced by print().
|
inline |
Emit this exception to a stream.
No trailing linefeed is emitted.
Definition at line 70 of file BinaryVxcoreParser.h.
References toString().