00001 #ifndef _IT_BUS_USER_FAULT_EXCEPTION_H_
00002 #define _IT_BUS_USER_FAULT_EXCEPTION_H_
00003
00004
00005
00006
00007 #include <it_bus/api_defines.h>
00008 #include <it_bus/deserialization_exception.h>
00009 #include <it_bus/serialization_exception.h>
00010
00011 namespace IT_Bus
00012 {
00013 class ComplexTypeReader;
00014 class ComplexTypeWriter;
00015 class QName;
00016
00029 class IT_AFC_API UserFaultException : public Exception
00030 {
00031 public:
00032
00036 UserFaultException();
00037
00041 UserFaultException(
00042 const UserFaultException& copy
00043 );
00044
00048 virtual
00049 ~UserFaultException();
00050
00051 virtual void
00052 write_contents(
00053 ComplexTypeWriter & os
00054 ) const IT_THROW_DECL((SerializationException)) = 0;
00055
00056 virtual void
00057 read_contents(
00058 ComplexTypeReader & os
00059 ) IT_THROW_DECL((DeserializationException)) = 0;
00060
00068 virtual const QName &
00069 get_message_name() const = 0;
00070 };
00071 }
00072
00073 #endif