00001 #ifndef _IT_BUS_CONNECT_EXCEPTION_H_
00002 #define _IT_BUS_CONNECT_EXCEPTION_H_
00003
00004
00005
00006
00007 #include <it_bus/transport_exception.h>
00008
00009 namespace IT_Bus {
00010
00011 class IT_BUS_API ConnectException :
00012 public TransportException
00013 {
00014 public:
00015 ConnectException(
00016 const char * desc1 = 0,
00017 const char * desc2 = 0,
00018 const char * desc3 = 0,
00019 const char * desc4 = 0,
00020 const char * desc5 = 0,
00021 const char * desc6 = 0
00022 );
00023
00024 ConnectException(
00025 IT_ULong error_code,
00026 const char * desc1 = 0,
00027 const char * desc2 = 0,
00028 const char * desc3 = 0,
00029 const char * desc4 = 0,
00030 const char * desc5 = 0,
00031 const char * desc6 = 0
00032 );
00033
00034 virtual ~ConnectException();
00035
00039 virtual Exception*
00040 clone() const;
00041
00045 virtual void
00046 rethrow() const;
00047 };
00048 }
00049
00050 #endif