00001 #ifndef xmogInc_javaxnamingNamingException
00002 #define xmogInc_javaxnamingNamingException
00003
00004 # if !defined(JMS_DECLSPEC )
00005 # if defined(_MSC_VER)
00006 # pragma message( "Relying on default definition of JMS_DECLSPEC " )
00007 # endif
00008
00009
00010 # define JMS_DECLSPEC
00011 # endif
00012
00013 namespace java
00014 {
00015 namespace lang
00016 {
00017 class Object;
00018 class String;
00019 class Throwable;
00020 }
00021 }
00022 namespace javax
00023 {
00024 namespace naming
00025 {
00026 class Name;
00027 class NamingException;
00028 }
00029 }
00030
00031 # include "java_lang_Exception.h"
00032
00033
00034 # if (XMOG_UNDEFINE_MEM_OPERATORS==1)
00035 # if defined(new)
00036 # undef new
00037 # endif
00038 # if defined(delete)
00039 # undef delete
00040 # endif
00041 # endif
00042
00073 class JMS_DECLSPEC javax::naming::NamingException :
00074 public ::java::lang::Exception
00075 {
00076 public:
00077 enum
00078 {
00079 xmogDefaultFlags = xmog_base::GLOBAL,
00080 xmogMajorVersion = 3,
00081 xmogMinorVersion = 2,
00082 xmogPatchVersion = 9,
00083 xmogBuildNumber = 2047
00084 };
00085
00086 public:
00087
00088 typedef ::xmog_java_array_template< ::javax::naming::NamingException > array1D;
00089
00090 typedef ::xmog_java_array_template< ::xmog_java_array_template< ::javax::naming::NamingException > > array2D;
00091
00093
00110 NamingException( );
00111
00124 NamingException( const ::javax::naming::NamingException & _rhs );
00125
00138 NamingException( jobject _local, xmog_flags f_xflags );
00139
00152 NamingException( const ::xmog_null & _null_instance );
00153
00164 NamingException( ::xmog_java_array * _arr, jint _index );
00165
00177 XMOG_EXPLICIT NamingException( ::xmog_base * _delegate, bool _owns_delegate = true );
00178
00192 NamingException( const ::javax::naming::NamingException & _rhs, ::xmog_localenv * p_lxenv );
00193
00207 NamingException( ::xmog_java_ref * _cra, ::xmog_java_dynamic * _dynamic, xmog_flags f_xflags = xmogDefaultFlags );
00208
00210
00223 NamingException( ::xmog_dummy _use_java_ctor, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00224
00237 NamingException( const ::java::lang::String & explanation, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00238
00240
00247 ~NamingException( );
00248
00261 javax::naming::NamingException operator =( const javax::naming::NamingException & _rhs );
00262
00277 void operator delete( void * _ptr );
00278
00279 # if (XMOG_SUPPORTS_PLACEMENT_DELETE==1)
00295 void operator delete( void * ptr, void * loc );
00296 # endif
00297
00312 void * operator new( size_t _size );
00313
00314 # if (XMOG_SUPPORTS_PLACEMENT_NEW==1)
00332 void * operator new( size_t _size, void * _ptr );
00333 # endif
00334
00336
00349 virtual void appendRemainingComponent( const ::java::lang::String & name, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00350
00373 virtual void appendRemainingName( const ::javax::naming::Name & name, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00374
00376
00397 static ::javax::naming::NamingException dyna_cast( const ::xmog_base & _rhs, ::xmog_localenv * p_lxenv = NULL, xmog_flags flags = xmogDefaultFlags );
00398
00400
00411 virtual ::java::lang::Throwable getCause( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00412
00425 virtual ::java::lang::String getExplanation( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00426
00439 virtual ::javax::naming::Name getRemainingName( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00440
00454 virtual ::javax::naming::Name getResolvedName( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00455
00470 virtual ::java::lang::Object getResolvedObj( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00471
00490 virtual ::java::lang::Throwable getRootCause( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00491
00493
00507 static ::xmog_java_class * get_class( );
00508
00517 static ::xmog_java_class * get_element_class( );
00518
00520
00532 virtual ::java::lang::Throwable initCause( const ::java::lang::Throwable & cause, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00533
00558 virtual void setRemainingName( const ::javax::naming::Name & name, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00559
00584 virtual void setResolvedName( const ::javax::naming::Name & name, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00585
00598 virtual void setResolvedObj( const ::java::lang::Object & obj, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00599
00616 virtual void setRootCause( const ::java::lang::Throwable & e, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00617
00637 virtual ::java::lang::String toString( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00638
00658 virtual ::java::lang::String toString( bool detail, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00659
00661
00680 virtual ::xmog_java_class * xmog_get_java_peer( ::xmog_localenv * p_lxenv = NULL );
00681
00693 static void XMOG_CALLING_CONVENTION xmog_throw_( jobject exc, xmog_flags f_xflags );
00695
00696 };
00697 #endif
00698