00001 #ifndef xmogInc_javalangRuntimeException
00002 #define xmogInc_javalangRuntimeException
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 RuntimeException;
00018 class String;
00019 class Throwable;
00020 }
00021 }
00022
00023 # include "java_lang_Exception.h"
00024
00025
00026 # if (XMOG_UNDEFINE_MEM_OPERATORS==1)
00027 # if defined(new)
00028 # undef new
00029 # endif
00030 # if defined(delete)
00031 # undef delete
00032 # endif
00033 # endif
00034
00051 class JMS_DECLSPEC java::lang::RuntimeException :
00052 public ::java::lang::Exception
00053 {
00054 public:
00055 enum
00056 {
00057 xmogDefaultFlags = xmog_base::GLOBAL,
00058 xmogMajorVersion = 3,
00059 xmogMinorVersion = 2,
00060 xmogPatchVersion = 9,
00061 xmogBuildNumber = 2047
00062 };
00063
00064 public:
00065
00066 typedef ::xmog_java_array_template< ::java::lang::RuntimeException > array1D;
00067
00068 typedef ::xmog_java_array_template< ::xmog_java_array_template< ::java::lang::RuntimeException > > array2D;
00069
00071
00088 RuntimeException( );
00089
00102 RuntimeException( const ::java::lang::RuntimeException & _rhs );
00103
00116 RuntimeException( jobject _local, xmog_flags f_xflags );
00117
00130 RuntimeException( const ::xmog_null & _null_instance );
00131
00142 RuntimeException( ::xmog_java_array * _arr, jint _index );
00143
00155 XMOG_EXPLICIT RuntimeException( ::xmog_base * _delegate, bool _owns_delegate = true );
00156
00170 RuntimeException( const ::java::lang::RuntimeException & _rhs, ::xmog_localenv * p_lxenv );
00171
00185 RuntimeException( ::xmog_java_ref * _cra, ::xmog_java_dynamic * _dynamic, xmog_flags f_xflags = xmogDefaultFlags );
00186
00188
00203 RuntimeException( const ::java::lang::String & message, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00204
00222 RuntimeException( const ::java::lang::Throwable & cause, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00223
00237 RuntimeException( ::xmog_dummy _use_java_ctor, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00238
00257 RuntimeException( const ::java::lang::String & message, const ::java::lang::Throwable & cause, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00258
00260
00267 ~RuntimeException( );
00268
00281 java::lang::RuntimeException operator =( const java::lang::RuntimeException & _rhs );
00282
00297 void operator delete( void * _ptr );
00298
00299 # if (XMOG_SUPPORTS_PLACEMENT_DELETE==1)
00315 void operator delete( void * ptr, void * loc );
00316 # endif
00317
00332 void * operator new( size_t _size );
00333
00334 # if (XMOG_SUPPORTS_PLACEMENT_NEW==1)
00352 void * operator new( size_t _size, void * _ptr );
00353 # endif
00354
00375 static ::java::lang::RuntimeException dyna_cast( const ::xmog_base & _rhs, ::xmog_localenv * p_lxenv = NULL, xmog_flags flags = xmogDefaultFlags );
00376
00390 static ::xmog_java_class * get_class( );
00391
00400 static ::xmog_java_class * get_element_class( );
00401
00420 virtual ::xmog_java_class * xmog_get_java_peer( ::xmog_localenv * p_lxenv = NULL );
00421
00433 static void XMOG_CALLING_CONVENTION xmog_throw_( jobject exc, xmog_flags f_xflags );
00435
00436 };
00437 #endif
00438