/[PAMELA software]/yoda/event/Exception.h
ViewVC logotype

Diff of /yoda/event/Exception.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2.2 by kusanagi, Tue Jan 11 14:58:20 2005 UTC revision 4.5 by kusanagi, Mon Aug 29 09:19:17 2005 UTC
# Line 1  Line 1 
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.
# Line 27  namespace pamela { Line 27  namespace 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;
# Line 74  namespace pamela { Line 80  namespace pamela {
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 */

Legend:
Removed from v.2.2  
changed lines
  Added in v.4.5

  ViewVC Help
Powered by ViewVC 1.1.23