00001 #ifndef _IT_BUS_SECURITY_EXCEPTION_H_
00002 #define _IT_BUS_SECURITY_EXCEPTION_H_
00003
00004
00005
00006
00007 #include <it_bus/types.h>
00008
00009 #if !defined(IT_BUS_SECURITY_API)
00010 #if defined(IT_BUS_SECURITY_API_EXPORT)
00011 #define IT_BUS_SECURITY_API IT_DECLSPEC_EXPORT
00012 #else
00013 #define IT_BUS_SECURITY_API IT_DECLSPEC_IMPORT
00014 #endif
00015 #endif
00016
00017 namespace IT_Bus
00018 {
00019 class IT_BUS_SECURITY_API SecurityException :
00020 public Exception
00021 {
00022 public:
00023 SecurityException(
00024 const char* desc1 = 0,
00025 const char* desc2 = 0,
00026 const char* desc3 = 0,
00027 const char* desc4 = 0,
00028 const char* desc5 = 0,
00029 const char* desc6 = 0
00030 );
00031
00032 virtual
00033 ~SecurityException();
00034
00038 virtual Exception*
00039 clone() const;
00040
00044 virtual void
00045 rethrow() const;
00046 };
00047 }
00048
00049 #endif