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 4.4 2005/05/28 10:44:09 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; |
80 |
NotExistingCounterException::~NotExistingCounterException () throw(){ } |
NotExistingCounterException::~NotExistingCounterException () throw(){ } |
81 |
}; |
}; |
82 |
|
|
83 |
|
class BackwardCounterException: public Exception { |
84 |
|
public: |
85 |
|
BackwardCounterException::BackwardCounterException(const char *msg): Exception(msg) { } |
86 |
|
BackwardCounterException::~BackwardCounterException () throw(){ } |
87 |
|
}; |
88 |
} |
} |
89 |
#endif /* EXCEPTION_H */ |
#endif /* EXCEPTION_H */ |