--- yoda/event/Exception.h 2005/03/06 04:33:01 4.0 +++ yoda/event/Exception.h 2006/02/07 17:11:07 6.0 @@ -1,6 +1,6 @@ /** @file * $Source: /home/cvsmanager/yoda/event/Exception.h,v $ - * $Id: Exception.h,v 3.0 2005/03/04 15:54:11 kusanagi Exp $ + * $Id: Exception.h,v 5.1 2006/02/04 12:37:43 kusanagi Exp $ * $Author: kusanagi $ * * Header file for the exceptions of Pamela. @@ -9,7 +9,10 @@ #define EXCEPTION_H #include #include -#include "SubPacket.h" + +#define UINT32 unsigned int +#define UINT16 unsigned short +#define UINT8 unsigned char using namespace std; namespace pamela { @@ -80,5 +83,10 @@ NotExistingCounterException::~NotExistingCounterException () throw(){ } }; + class BackwardCounterException: public Exception { + public: + BackwardCounterException::BackwardCounterException(const char *msg): Exception(msg) { } + BackwardCounterException::~BackwardCounterException () throw(){ } + }; } #endif /* EXCEPTION_H */