--- yoda/event/Exception.h 2005/05/28 10:44:09 4.4 +++ yoda/event/Exception.h 2006/02/04 12:37:43 5.1 @@ -1,7 +1,7 @@ /** @file * $Source: /home/cvsmanager/yoda/event/Exception.h,v $ - * $Id: Exception.h,v 4.0 2005/03/06 04:33:01 kusanagi Exp $ - * $Author: kusanagi $ + * $Id: Exception.h,v 5.0 2005/08/29 09:45:48 Maurizio Nagni Exp $ + * $Author: Maurizio Nagni $ * * 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 */