CARMA C++
IllegalArgumentException.h
Go to the documentation of this file.
1 #ifndef CARMA_UTIL_ILLEGALARGUMENTEXCEPTION_H
2 #define CARMA_UTIL_ILLEGALARGUMENTEXCEPTION_H
3 
15 
16 namespace carma {
17 namespace util {
18 
24 public:
25 
37  IllegalArgumentException(const std::string & msgstr,
38  const char * filename,
39  int lineNo);
40 
53  IllegalArgumentException(const std::ostringstream & msgstr,
54  const char * filename,
55  int lineNo);
56 
61 
62 };
63 
64 }}
65 
66 #endif // CARMA_UTIL_ILLEGALARGUMENTEXCEPTION_H
an exception indicating that an object is in an illegal state for the operation that was called on or...
Exception class for errors.
IllegalArgumentException(const std::string &msgstr, const char *filename, int lineNo)
create an IllegalArgumentException Recommended usage CARMA_EXCEPTION(IllegalArgumentException, string msg);
Exception class for errors The exception comes with a text string that can be printed or logged...