|
libcommonc++
0.7
|
An exception indicating a parsing error. More...
#include <ParseException.h++>


Public Member Functions | |
| ParseException (String message, int line=0, int character=0) | |
| Construct a new ParseException with the given cause message. More... | |
| int | getLine () const |
| Get the line number of the error. More... | |
| int | getCharacter () const |
| Get the character position (within the line) of the error. More... | |
| void | write (std::ostream &stream) const |
| Write a textual representation of the exception to a stream. More... | |
| String | getMessage () const |
| Get the message associated with the exception. More... | |
| virtual const char * | what () const throw () |
| Get the message associated with the exception. More... | |
| String | toString () const |
| Get a textual representation of the exception as a String. More... | |
Protected Attributes | |
| String | _message |
| The cause message. More... | |
| CString | _what |
An exception indicating a parsing error.
| ParseException | ( | String | message, |
| int | line = 0, |
||
| int | character = 0 |
||
| ) |
Construct a new ParseException with the given cause message.
| message | The cause message. |
| line | The line number of the error. |
| character | The character position (within the line) of the error. |
|
inline |
Get the character position (within the line) of the error.
|
inline |
Get the line number of the error.
|
inlineinherited |
Get the message associated with the exception.
|
inlineinherited |
Get a textual representation of the exception as a String.
|
virtualinherited | |||||||||||||
Get the message associated with the exception.
|
virtual |
Write a textual representation of the exception to a stream.
Reimplemented from Exception.
|
protectedinherited |
The cause message.
|
mutableprotectedinherited |