/[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 4.4 by kusanagi, Sat May 28 10:44:09 2005 UTC revision 5.1 by kusanagi, Sat Feb 4 12:37:43 2006 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 4.0 2005/03/06 04:33:01 kusanagi Exp $   * $Id: Exception.h,v 5.0 2005/08/29 09:45:48 Maurizio Nagni Exp $
4   * $Author: kusanagi $   * $Author: Maurizio Nagni $
5   *   *
6   * Header file for the exceptions of Pamela.   * Header file for the exceptions of Pamela.
7   */   */
# Line 9  Line 9 
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 {
# Line 80  namespace pamela { Line 83  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 */

Legend:
Removed from v.4.4  
changed lines
  Added in v.5.1

  ViewVC Help
Powered by ViewVC 1.1.23