TokenStreamRecognitionException Class Reference

#include <TokenStreamRecognitionException.hpp>

Inheritance diagram for TokenStreamRecognitionException:

Inheritance graph
[legend]
Collaboration diagram for TokenStreamRecognitionException:

Collaboration graph
[legend]

Public Member Functions

 TokenStreamRecognitionException (RecognitionException &re)
virtual ~TokenStreamRecognitionException () throw ()
virtual ANTLR_USE_NAMESPACE (std) string toString() const
virtual ANTLR_USE_NAMESPACE (std) string getFilename() const throw ()
virtual int getLine () const throw ()
virtual int getColumn () const throw ()

Private Attributes

RecognitionException recog

Detailed Description

Exception thrown from generated lexers when there's no default error handler specified.
See also:
TokenStream

Definition at line 22 of file TokenStreamRecognitionException.hpp.


Constructor & Destructor Documentation

TokenStreamRecognitionException::TokenStreamRecognitionException ( RecognitionException re  )  [inline]

Definition at line 24 of file TokenStreamRecognitionException.hpp.

virtual TokenStreamRecognitionException::~TokenStreamRecognitionException (  )  throw () [inline, virtual]

Definition at line 29 of file TokenStreamRecognitionException.hpp.


Member Function Documentation

virtual TokenStreamRecognitionException::ANTLR_USE_NAMESPACE ( std   )  const [inline, virtual]

Return complete error message with line/column number info (if present)

Note:
for your own exceptions override this one. Call getMessage from here to get the 'clean' error message stored in the text attribute.

Reimplemented from ANTLRException.

Definition at line 32 of file TokenStreamRecognitionException.hpp.

virtual TokenStreamRecognitionException::ANTLR_USE_NAMESPACE ( std   )  const throw () [inline, virtual]

Return complete error message with line/column number info (if present)

Note:
for your own exceptions override this one. Call getMessage from here to get the 'clean' error message stored in the text attribute.

Reimplemented from ANTLRException.

Definition at line 37 of file TokenStreamRecognitionException.hpp.

virtual int TokenStreamRecognitionException::getLine (  )  const throw () [inline, virtual]

Definition at line 41 of file TokenStreamRecognitionException.hpp.

virtual int TokenStreamRecognitionException::getColumn (  )  const throw () [inline, virtual]

Definition at line 45 of file TokenStreamRecognitionException.hpp.


Field Documentation

Definition at line 50 of file TokenStreamRecognitionException.hpp.


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

Generated on Tue Mar 31 20:19:28 2009 for ctrump by  doxygen 1.5.6