00001 #ifndef _IT_TYPE_CAST_EXCEPTION_H_
00002 #define _IT_TYPE_CAST_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_AFC_API TypeCastException :
00013 public Exception
00014 {
00015 public:
00016 TypeCastException(
00017 IT_ULong error_code,
00018 const char* desc1 = 0,
00019 const char* desc2 = 0,
00020 const char* desc3 = 0,
00021 const char* desc4 = 0,
00022 const char* desc5 = 0,
00023 const char* desc6 = 0
00024 );
00025
00026 TypeCastException(
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 virtual
00035 ~TypeCastException();
00036
00040 virtual Exception*
00041 clone() const;
00042
00046 virtual void
00047 rethrow() const;
00048 };
00049 }
00050
00051 #endif