it_bus/deserialization_exception.h

00001 #ifndef _IT_BUS_DESERIALIZATION_EXCEPTION_H_
00002 #define _IT_BUS_DESERIALIZATION_EXCEPTION_H_
00003 
00004 // @Copyright 2004 IONA Technologies, Plc. All Rights Reserved.
00005 //
00006 
00007 #include <it_bus/types.h>
00008 #include <it_bus/exception.h>
00009 
00010 namespace IT_Bus
00011 {
00012     class IT_AFC_API DeserializationException :
00013         public Exception
00014     {
00015       public:
00016 
00017         DeserializationException(
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         virtual ~DeserializationException();
00027 
00031         virtual Exception*
00032         clone() const;
00033     
00037         virtual void
00038         rethrow() const;
00039     };
00040 
00041     class IT_AFC_API UnknownElementException :
00042         public DeserializationException
00043     {
00044         public:
00045             UnknownElementException(const String& message);
00046             virtual ~UnknownElementException();          
00047 
00051         virtual Exception*
00052         clone() const;
00053     
00057         virtual void
00058         rethrow() const;
00059     };
00060 }
00061 
00062 #endif  

Generated on Tue Mar 20 15:27:41 2007 for Artix by  doxygen 1.5.1-p1