summaryrefslogtreecommitdiffstats
path: root/poxml/antlr/antlr/CharStreamIOException.hpp
blob: 1a8b1d1e175cdeb7f55e0efc62d00db03ab147e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef INC_CharStreamIOException_hpp__
#define INC_CharStreamIOException_hpp__

#include "antlr/config.hpp"
#include "antlr/CharStreamException.hpp"

ANTLR_BEGIN_NAMESPACE(antlr)

class CharStreamIOException : public CharStreamException {
public:
	ANTLR_USE_NAMESPACE(std)exception io;

	CharStreamIOException(ANTLR_USE_NAMESPACE(std)exception& e)
		: CharStreamException(e.what()), io(e) {}
	~CharStreamIOException() throw() {}
};

ANTLR_END_NAMESPACE

#endif //INC_CharStreamIOException_hpp__