| 1 |
/** @file |
/** @file |
| 2 |
* $Source: /home/cvsmanager/yoda/event/Exception.h,v $ |
* $Source: /home/cvsmanager/yoda/event/Exception.h,v $ |
| 3 |
* $Id: Exception.h,v 4.0 2005/03/06 04:33:01 kusanagi Exp $ |
* $Id: Exception.h,v 5.1 2006/02/04 12:37:43 kusanagi Exp $ |
| 4 |
* $Author: kusanagi $ |
* $Author: kusanagi $ |
| 5 |
* |
* |
| 6 |
* Header file for the exceptions of Pamela. |
* Header file for the exceptions of Pamela. |
| 9 |
#define EXCEPTION_H |
#define EXCEPTION_H |
| 10 |
#include <exception> |
#include <exception> |
| 11 |
#include <stdio.h> |
#include <stdio.h> |
| 12 |
#include "SubPacket.h" |
|
| 13 |
|
#define UINT32 unsigned int |
| 14 |
|
#define UINT16 unsigned short |
| 15 |
|
#define UINT8 unsigned char |
| 16 |
|
|
| 17 |
using namespace std; |
using namespace std; |
| 18 |
namespace pamela { |
namespace pamela { |
| 83 |
NotExistingCounterException::~NotExistingCounterException () throw(){ } |
NotExistingCounterException::~NotExistingCounterException () throw(){ } |
| 84 |
}; |
}; |
| 85 |
|
|
| 86 |
|
class BackwardCounterException: public Exception { |
| 87 |
|
public: |
| 88 |
|
BackwardCounterException::BackwardCounterException(const char *msg): Exception(msg) { } |
| 89 |
|
BackwardCounterException::~BackwardCounterException () throw(){ } |
| 90 |
|
}; |
| 91 |
} |
} |
| 92 |
#endif /* EXCEPTION_H */ |
#endif /* EXCEPTION_H */ |