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