it_bus_config/wsdl_error_handler.h

00001 #ifndef _IT_WSDL_WSDL_ERROR_HANDLER_H_
00002 #define _IT_WSDL_WSDL_ERROR_HANDLER_H_
00003 
00004 // @Copyright 2004 IONA Technologies, Plc. All Rights Reserved.
00005 //
00006 
00007 #include <it_bus/types.h>
00008 #include <it_wsdl/api_defines.h>
00009 
00010 namespace IT_WSDL
00011 {
00012     class IT_WSDL_API WSDLErrorHandler
00013     {
00014       public:
00015         WSDLErrorHandler() {}
00016 
00017         virtual ~WSDLErrorHandler();
00018 
00019         virtual void
00020         warning(const IT_Bus::String & ex) = 0;
00021 
00022         virtual void
00023         error(const IT_Bus::String & ex) = 0;
00024 
00025         virtual void
00026         fatal_error(const IT_Bus::String & ex) = 0;
00027 
00028         virtual unsigned int
00029         get_warning_count() = 0;
00030 
00031         virtual unsigned int
00032         get_error_count() = 0;
00033 
00034         virtual unsigned int
00035         get_fatal_error_count() = 0; 
00036 
00037         virtual void
00038         reset_errors() = 0;
00039 
00040       private:
00041         // private and unimplemented to prevent copying
00042         WSDLErrorHandler(const WSDLErrorHandler&);
00043         void operator=(const WSDLErrorHandler&);
00044     };
00045 }
00046 
00047 #endif  

Generated on Thu Sep 7 11:39:09 2006 for Artix by  doxygen 1.4.7