00001 #ifndef _DEPLOYER_EXCEPTION_H_
00002 #define _DEPLOYER_EXCEPTION_H_
00003
00004 #include <it_bus/types.h>
00005
00006 #ifndef IT_DEPLOYER_SERVICE_API
00007 #ifdef IT_DEPLOYER_SERVICE_API_EXPORT
00008 #define IT_DEPLOYER_SERVICE_API IT_DECLSPEC_EXPORT
00009 #else
00010 #define IT_DEPLOYER_SERVICE_API IT_DECLSPEC_IMPORT
00011 #endif
00012 #endif
00013
00014 namespace IT_Bus_Services
00015 {
00016
00017
00018 class IT_DEPLOYER_SERVICE_API DeployerException :
00019 public IT_Bus::Exception
00020 {
00021 public:
00022 DeployerException(
00023 const char *mesg1 = 0,
00024 const char *mesg2 = 0
00025 );
00026
00027 DeployerException(
00028 IT_ULong error_code,
00029 const char *mesg = 0
00030 );
00031
00032 virtual ~DeployerException();
00033
00037 virtual IT_Bus::Exception*
00038 clone() const;
00039
00043 virtual void
00044 rethrow() const;
00045 };
00046
00047 }
00048
00049 #endif //_DEPLOYER_EXCEPTION_H_