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