1 #ifndef INC_TokenStreamException_hpp__
2 #define INC_TokenStreamException_hpp__
4 /* ANTLR Translator Generator
5 * Project led by Terence Parr at http://www.jGuru.com
6 * Software rights: http://www.antlr.org/license.html
8 * $Id: //depot/code/org.antlr/release/antlr-2.7.7/lib/cpp/antlr/TokenStreamException.hpp#2 $
11 #include <antlr/config.hpp>
12 #include <antlr/ANTLRException.hpp>
14 #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
18 /** Baseclass for exceptions thrown by classes implementing the TokenStream
22 class ANTLR_API TokenStreamException : public ANTLRException {
24 TokenStreamException()
28 TokenStreamException(const ANTLR_USE_NAMESPACE(std)string& s)
32 virtual ~TokenStreamException() _NOEXCEPT
37 #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
41 #endif //INC_TokenStreamException_hpp__