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