ANTLR Support Libraries 2.7.1+

antlr/CharStreamIOException.hpp

Go to the documentation of this file.
00001 #ifndef INC_CharStreamIOException_hpp__
00002 #define INC_CharStreamIOException_hpp__
00003 
00004 /* ANTLR Translator Generator
00005  * Project led by Terence Parr at http://www.jGuru.com
00006  * Software rights: http://www.antlr.org/license.html
00007  *
00008  * $Id: //depot/code/org.antlr/release/antlr-2.7.7/lib/cpp/antlr/CharStreamIOException.hpp#2 $
00009  */
00010 
00011 #include <antlr/config.hpp>
00012 #include <antlr/CharStreamException.hpp>
00013 
00014 #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
00015 namespace antlr {
00016 #endif
00017 
00018 class ANTLR_API CharStreamIOException : public CharStreamException {
00019 public:
00020    ANTLR_USE_NAMESPACE(std)exception io;
00021 
00022    CharStreamIOException(ANTLR_USE_NAMESPACE(std)exception& e)
00023       : CharStreamException(e.what()), io(e) {}
00024    ~CharStreamIOException() throw() {}
00025 };
00026 
00027 #ifdef ANTLR_CXX_SUPPORTS_NAMESPACE
00028 }
00029 #endif
00030 
00031 #endif //INC_CharStreamIOException_hpp__
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines