MDStressLab++
Exception.h
Go to the documentation of this file.
1 /*
2  * Exception.h
3  *
4  * Created on: Nov 10, 2019
5  * Author: Nikhil
6  */
7 
8 #ifndef EXCEPTION_H_
9 #define EXCEPTION_H_
10 #include <string>
11 
12 class Exception {
13 public:
14  Exception(const std::string&);
15  virtual ~Exception();
16  std::string msg;
17  virtual const char* what() const;
18 };
19 
20 #endif /* EXCEPTION_H_ */
Exception(const std::string &)
Definition: Exception.cpp:10
virtual ~Exception()
Definition: Exception.cpp:17
virtual const char * what() const
Definition: Exception.cpp:12
std::string msg
Definition: Exception.h:16