CARMA C++
NumberFormatException.h
Go to the documentation of this file.
1 #ifndef CARMA_UTIL_NUMBER_FORMAT_EXCEPTION_H
2 #define CARMA_UTIL_NUMBER_FORMAT_EXCEPTION_H
3 
15 
16 namespace carma {
17 namespace util {
18 
24 public:
25 
37  NumberFormatException(const std::string & msgstr,
38  const char * filename,
39  int lineNo);
40 
52  NumberFormatException(const std::ostringstream & msgstr,
53  const char * filename,
54  int lineNo);
55 
61 
62 };
63 
64 }}
65 
66 #endif // CARMA_UTIL_NUMBER_FORMAT_EXCEPTION_H
Exception class for errors.
An exception that a numeric conversion from character or string to number failed. ...
NumberFormatException(const std::string &msgstr, const char *filename, int lineNo)
create a NumberFormatException Suggested usage CARMA_EXCEPTION(NumberFormatException, string msg);
Exception class for errors The exception comes with a text string that can be printed or logged...