Added Exception and its tests.
[libsex.git] / tests / CountingException.hxx
blob0431894fd30328a62698c7a087ecd21af7a84e5f
1 #ifndef COUNTINGEXCEPTION_HXX
2 #define COUNTINGEXCEPTION_HXX
4 #include <libsex/Exception.hxx>
6 class CountingException : public libsex::Exception
8 public:
9 static int instances;
11 CountingException(const char* const);
12 ~CountingException() throw();
14 const libsex::Exception*
15 clone() const throw(std::bad_alloc);
18 #endif