Main Page | Namespace List | File List | File Members

ChkptException.h

Go to the documentation of this file.
00001 // File: ChkptException.h
00002 // Author: Alessio Gianelle <gianelle@pd.infn.it>
00003 // Copyright (c) 2002 The European Datagrid Project - IST programme, all rights reserved.
00004 // For license conditions see http://www.eu-datagrid.org/license.html
00005 // Contributors are mentioned in the code where appropriate.
00006 
00007 // $Id: ChkptException.h,v 1.10 2002/12/19 10:23:49 gianelle Exp $
00008 
00018 #ifndef EDG_WORKLOAD_CHECKPOINTING_EXCEPTIONS_H
00019 #define EDG_WORKLOAD_CHECKPOINTING_EXCEPTIONS_H
00020 
00021 #include "edg/workload/common/utilities/Exceptions.h"
00022 #include "edg/workload/checkpointing/client/error_code.h"
00023 
00024 CHKPT_NAMESPACE_BEGIN { 
00025 
00033   class ChkptException : public edg::workload::common::utilities::Exception {
00034     
00035   protected: 
00040     ChkptException() {};
00041     
00042   public:
00043 
00048     ChkptException ( std::string file,   
00049                      int line,           
00050                      std::string method, 
00051                      int code,           
00052                      std::string exception_name 
00053                      );
00054   };
00055   
00063   class EoSException : public ChkptException {
00064     
00065   public:
00066     
00067     EoSException ( std::string file,    
00068                    int line,            
00069                    std::string method   
00070                    );  
00071   };
00072   
00081   class ULException : public ChkptException {
00082 
00083   public:
00084 
00085     ULException ( std::string file,   
00086                   int line,           
00087                   std::string method, 
00088                   std::string attr    
00089                   );
00090   };
00091 
00101   class WTException : public ChkptException {
00102 
00103   public:
00104 
00105     WTException ( std::string file,  
00106                   int line,          
00107                   std::string method,
00108                   std::string attr,  
00109                   std::string func   
00110                   );
00111   };
00112     
00123   class LFException : public ChkptException {
00124 
00125   public:
00126 
00127     LFException ( std::string file,  
00128                   int line,          
00129                   std::string method,
00130                   std::string func,  
00131                   int error_func     
00132                   );
00133   };
00134 
00144   class SEException : public ChkptException {
00145     
00146   public:
00147     
00148     SEException ( std::string file,  
00149                   int line,          
00150                   std::string method,
00151                   std::string attr   
00152                   );
00153   };
00154   
00165   class ESException : public ChkptException {
00166 
00167   public:
00168     
00169     ESException ( std::string file,  
00170                   int line,          
00171                   std::string method,
00172                   int code           
00173                   );
00174   };
00175 
00176 } CHKPT_NAMESPACE_END;
00177 
00178 #endif
00179 
00180 // Local Variables:
00181 // mode: c++
00182 // End:

Generated on Wed Mar 1 00:37:46 2006 for CHECKPOINTING API by doxygen 1.3.5