Inter4ql  5.2
Exception.h
1 #ifndef __EXCEPTION_H__
2 #define __EXCEPTION_H__
3 
4 #include <string>
5 #include "Disposable.h"
6 
7 namespace Inter4ql {
11  class Exception {
12  public:
17  Exception(std::string arg_name, Inter4ql::Disposable* toDelete = 0);
20  ~Exception();
25  std::string get();
35  void set(std::string _name);
36  private:
37  Inter4ql::Disposable* toDelete;
38  std::string name;
39  };
40 }
41 
42 #endif
~Exception()
destructor
Definition: Exception.cc:13
structure that handles memory managment - adds objecst and frees them
Definition: Disposable.h:43
Definition: Application.cc:37
Exception(std::string arg_name, Inter4ql::Disposable *toDelete=0)
standard constructor that sets exception value
Definition: Exception.cc:8
class that implements an exception
Definition: Exception.h:11
Inter4ql::Disposable * getDisp()
getter for values to delete
Definition: Exception.cc:20