CARMA C++
MalformedSyslogLineException.h
Go to the documentation of this file.
1 #ifndef CARMA_UTIL_MALFORMEDSYSLOGLINEEXCEPTION_H
2 #define CARMA_UTIL_MALFORMEDSYSLOGLINEEXCEPTION_H
3 
15 
16 namespace carma
17 {
18  namespace dbms
19  {
20 
25  public:
26 
38  MalformedSyslogLineException(const std::string & msgstr,
39  const char * filename,
40  int lineNo);
41 
53  MalformedSyslogLineException(const std::ostringstream & msgstr,
54  const char * filename,
55  int lineNo);
56 
62 
63  };
64 
65  }
66 }
67 
68 #endif // CARMA_UTIL_MALFORMEDSYSLOGLINEEXCEPTION_H
Exception class for errors.
MalformedSyslogLineException(const std::string &msgstr, const char *filename, int lineNo)
create a MalformedSyslogLineException Suggested usage CARMA_EXCEPTION(MalformedSyslogLineException, string msg);
An exception indicating that a file you wish to create already exists.
Exception class for errors The exception comes with a text string that can be printed or logged...