CARMA C++
ConformabilityException.h
Go to the documentation of this file.
1 #ifndef CARMA_SERVICES_CONFORMABILITYEXCEPTION_H
2 #define CARMA_SERVICES_CONFORMABILITYEXCEPTION_H
3 
18 
19 namespace carma {
20 namespace services {
21 
27 public:
28 
40  ConformabilityException(const std::string & msgstr,
41  const char * filename,
42  int lineNo);
43 
56  ConformabilityException(const std::ostringstream & msgstr,
57  const char * filename,
58  int lineNo);
59 
64 
65 };
66 
67 }}
68 
69 #endif // CARMA_SERVICES_CONFORMABILITYEXCEPTION_H
Exception class for errors.
ConformabilityException(const std::string &msgstr, const char *filename, int lineNo)
create an ConformabilityException Recommended usage CARMA_EXCEPTION(ConformabilityException, string msg);
Exception class for errors The exception comes with a text string that can be printed or logged...
An exception indicating that a unit conversion failed because the units were not conformable.