| 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 2.1 2004/12/03 22:04:04 kusanagi Exp $ |
* $Id: Exception.h,v 3.0 2005/03/04 15:54:11 kusanagi Exp $ |
| 4 |
* $Author: kusanagi $ |
* $Author: kusanagi $ |
| 5 |
* |
* |
| 6 |
* Header file for the exceptions of Pamela. |
* Header file for the exceptions of Pamela. |
| 27 |
virtual const char* print () const throw () { return message; } |
virtual const char* print () const throw () { return message; } |
| 28 |
}; |
}; |
| 29 |
|
|
| 30 |
|
class NotFoundEnvironmentVarException: public Exception { |
| 31 |
|
public: |
| 32 |
|
NotFoundEnvironmentVarException::NotFoundEnvironmentVarException(const char* msg): Exception(msg) {} |
| 33 |
|
NotFoundEnvironmentVarException::~NotFoundEnvironmentVarException () throw(){ } |
| 34 |
|
}; |
| 35 |
|
|
| 36 |
class UnidentifiedPacketException: public Exception { |
class UnidentifiedPacketException: public Exception { |
| 37 |
private: |
private: |
| 38 |
UINT8 pktId; |
UINT8 pktId; |