Restructured test directories.
[libsex.git] / tests / framework / CountingException.cxx
blob757498bcb874db72076c34d861536304c279471b
1 #include <tests/framework/CountingException.hxx>
3 int CountingException::instances = 0;
5 CountingException::CountingException(
6 const char* const message)
7 : libsex::Exception(message)
9 CountingException::instances++;
12 CountingException::~CountingException() throw()
14 CountingException::instances--;
17 const libsex::Exception*
18 CountingException::clone() const throw(std::bad_alloc)
20 return new CountingException("CountingException");