NeoPZ
TPZException.h
Go to the documentation of this file.
1 /*
2  * File: TPZException.h
3  * Author: thiago
4  *
5  * Created on 21 de Agosto de 2018, 12:14
6  */
7 
8 #ifndef TPZEXCEPTION_H
9 #define TPZEXCEPTION_H
10 
11 #include <string>
12 
13 class TPZException {
14 public:
15  TPZException(std::string detail);
16  virtual std::string GetDetail() const;
17  virtual ~TPZException();
18 protected :
19  void SetDetail(std::string detail);
20 private:
21  std::string fDetail;
22 };
23 
24 #endif /* TPZEXCEPTION_H */
25 
TPZException(std::string detail)
virtual ~TPZException()
void SetDetail(std::string detail)
virtual std::string GetDetail() const
std::string fDetail
Definition: TPZException.h:21