00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef TAO_UNKNOWN_USER_EXCEPTION_H
00019 #define TAO_UNKNOWN_USER_EXCEPTION_H
00020
00021 #include "ace/pre.h"
00022
00023 #include "tao/DynamicInterface/dynamicinterface_export.h"
00024
00025 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00026 # pragma once
00027 #endif
00028
00029 #include "tao/UserException.h"
00030
00031 #if defined (TAO_EXPORT_MACRO)
00032 #undef TAO_EXPORT_MACRO
00033 #endif
00034 #define TAO_EXPORT_MACRO TAO_DynamicInterface_Export
00035
00036 #if defined (TAO_EXPORT_NESTED_CLASSES)
00037 # if defined (TAO_EXPORT_NESTED_MACRO)
00038 # undef TAO_EXPORT_NESTED_MACRO
00039 # endif
00040 # define TAO_EXPORT_NESTED_MACRO TAO_DynamicInterface_Export
00041 #endif
00042
00043 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00044
00045 namespace CORBA
00046 {
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058 class TAO_DynamicInterface_Export UnknownUserException
00059 : public CORBA::UserException
00060 {
00061 public:
00062
00063
00064 UnknownUserException (void);
00065
00066
00067 UnknownUserException (CORBA::Any& exception);
00068
00069
00070 UnknownUserException (const UnknownUserException& e);
00071
00072
00073 virtual ~UnknownUserException (void);
00074
00075
00076 CORBA::Any& exception (void);
00077
00078
00079 virtual void _raise (void) const;
00080
00081 virtual CORBA::Exception *_tao_duplicate (void) const;
00082 virtual void _tao_encode (TAO_OutputCDR &cdr
00083 ACE_ENV_ARG_DECL) const;
00084 virtual void _tao_decode (TAO_InputCDR &cdr
00085 ACE_ENV_ARG_DECL);
00086
00087
00088 static UnknownUserException * _downcast (CORBA::Exception *ex);
00089 static UnknownUserException const * _downcast (
00090 CORBA::Exception const * ex);
00091
00092
00093
00094
00095 virtual CORBA::TypeCode_ptr _tao_type (void) const;
00096
00097 private:
00098
00099 CORBA::Any *exception_;
00100 };
00101
00102
00103 extern TAO_DynamicInterface_Export TypeCode_ptr const
00104 _tc_UnknownUserException;
00105
00106 }
00107
00108 TAO_END_VERSIONED_NAMESPACE_DECL
00109
00110 #include "ace/post.h"
00111
00112 #endif