CARMA C++
EOFException.h
Go to the documentation of this file.
1 #ifndef CARMA_UTIL_EOFEXCEPTION_H
2 #define CARMA_UTIL_EOFEXCEPTION_H
3 
15 
16 namespace carma {
17 namespace util {
18 
22 class EOFException : public ErrorException {
23 public:
24 
36  EOFException(const std::string & msgstr,
37  const char * filename,
38  int lineNo);
39 
51  EOFException(const std::ostringstream & msgstr,
52  const char * filename,
53  int lineNo);
54 
59  EOFException(const EOFException & ex);
60 
61 };
62 
63 }}
64 
65 #endif // CARMA_UTIL_EOFEXCEPTION_H
EOFException(const std::string &msgstr, const char *filename, int lineNo)
create a EOFException Suggested usage CARMA_EXCEPTION(EOFException, string msg);
Exception class for errors.
An exception indicating that the end of file marker has been reached.
Definition: EOFException.h:22
Exception class for errors The exception comes with a text string that can be printed or logged...