CARMA C++
FileExistsException.h
Go to the documentation of this file.
1 #ifndef CARMA_UTIL_FILEEXISTSEXCEPTION_H
2 #define CARMA_UTIL_FILEEXISTSEXCEPTION_H
3 
15 
16 namespace carma {
17 namespace util {
18 
23 public:
24 
36  FileExistsException(const std::string & msgstr,
37  const char * filename,
38  int lineNo);
39 
51  FileExistsException(const std::ostringstream & msgstr,
52  const char * filename,
53  int lineNo);
54 
60 
61 };
62 
63 }}
64 
65 #endif // CARMA_UTIL_FILEEXISTSEXCEPTION_H
Exception class for errors.
An exception indicating that a file you wish to create already exists.
Exception class for errors The exception comes with a text string that can be printed or logged...
FileExistsException(const std::string &msgstr, const char *filename, int lineNo)
create a FileExistsException Suggested usage CARMA_EXCEPTION(FileExistsException, string msg); ...