Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

java_lang_reflect_InvocationTargetException.h

00001 #ifndef xmogInc_javalangreflectInvocationTargetException
00002 #define xmogInc_javalangreflectInvocationTargetException
00003 
00004 #   if !defined(JMS_DECLSPEC )
00005 #       if defined(_MSC_VER)
00006 #           pragma message( "Relying on default definition of JMS_DECLSPEC " )
00007 #       endif /* defined(_MSC_VER) */
00008         // the following default definition works for all non-Windows platforms and for
00009         // executable projects on Windows where the sources are built directly into the binary
00010 #       define JMS_DECLSPEC 
00011 #   endif /* !defined(JMS_DECLSPEC ) */
00012 
00013     namespace java
00014     {
00015         namespace lang
00016         {
00017             class String;
00018             class Throwable;
00019             namespace reflect
00020             {
00021                 class InvocationTargetException;
00022             }
00023         }
00024     }
00025 
00026 #   include "java_lang_Exception.h"
00027 
00028     // work around MFC definitions of 'new' and 'delete' that cause compilation errors
00029 #   if (XMOG_UNDEFINE_MEM_OPERATORS==1)
00030 #       if defined(new)
00031 #           undef new
00032 #       endif /* defined(new) */
00033 #       if defined(delete)
00034 #           undef delete
00035 #       endif /* defined(delete) */
00036 #   endif /* (XMOG_UNDEFINE_MEM_OPERATORS==1) */
00037 
00054     class JMS_DECLSPEC java::lang::reflect::InvocationTargetException : 
00055         public ::java::lang::Exception
00056     {
00057     public:
00058         enum 
00059         {
00060             xmogDefaultFlags = xmog_base::GLOBAL,
00061             xmogMajorVersion = 3,
00062             xmogMinorVersion = 2,
00063             xmogPatchVersion = 9,
00064             xmogBuildNumber = 2047
00065         };
00066 
00067     public:
00068 
00069         typedef ::xmog_java_array_template< ::java::lang::reflect::InvocationTargetException > array1D;
00070 
00071         typedef ::xmog_java_array_template< ::xmog_java_array_template< ::java::lang::reflect::InvocationTargetException > > array2D;
00072 
00074 
00091         InvocationTargetException( );
00092 
00105         InvocationTargetException( jobject _local, xmog_flags f_xflags );
00106 
00119         InvocationTargetException( const ::xmog_null & _null_instance );
00120 
00131         InvocationTargetException( ::xmog_java_array * _arr, jint _index );
00132 
00145         InvocationTargetException( const ::java::lang::reflect::InvocationTargetException & _rhs );
00146 
00158         XMOG_EXPLICIT InvocationTargetException( ::xmog_base * _delegate, bool _owns_delegate = true );
00159 
00173         InvocationTargetException( const ::java::lang::reflect::InvocationTargetException & _rhs, ::xmog_localenv * p_lxenv );
00174 
00188         InvocationTargetException( ::xmog_java_ref * _cra, ::xmog_java_dynamic * _dynamic, xmog_flags f_xflags = xmogDefaultFlags );
00189 
00191 
00200         InvocationTargetException( const ::java::lang::Throwable & target, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00201 
00212         InvocationTargetException( ::xmog_dummy _use_java_ctor, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00213 
00224         InvocationTargetException( const ::java::lang::Throwable & target, const ::java::lang::String & s, ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00225 
00227 
00234         ~InvocationTargetException( );
00235 
00248         java::lang::reflect::InvocationTargetException operator =( const java::lang::reflect::InvocationTargetException & _rhs );
00249 
00264         void operator delete( void * _ptr );
00265 
00266 #       if (XMOG_SUPPORTS_PLACEMENT_DELETE==1)
00282             void operator delete( void * ptr, void * loc );
00283 #       endif /* (XMOG_SUPPORTS_PLACEMENT_DELETE==1) */
00284 
00299         void * operator new( size_t _size );
00300 
00301 #       if (XMOG_SUPPORTS_PLACEMENT_NEW==1)
00319             void * operator new( size_t _size, void * _ptr );
00320 #       endif /* (XMOG_SUPPORTS_PLACEMENT_NEW==1) */
00321 
00342         static ::java::lang::reflect::InvocationTargetException dyna_cast( const ::xmog_base & _rhs, ::xmog_localenv * p_lxenv = NULL, xmog_flags flags = xmogDefaultFlags );
00343 
00345 
00357         virtual ::java::lang::Throwable getCause( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00358 
00375         virtual ::java::lang::Throwable getTargetException( ::xmog_localenv * p_xenv = NULL, xmog_flags f_xflags = xmogDefaultFlags );
00376 
00378 
00392         static ::xmog_java_class * get_class( );
00393 
00402         static ::xmog_java_class * get_element_class( );
00403 
00422         virtual ::xmog_java_class * xmog_get_java_peer( ::xmog_localenv * p_lxenv = NULL );
00423 
00435         static void XMOG_CALLING_CONVENTION xmog_throw_( jobject exc, xmog_flags f_xflags );
00437 
00438     };
00439 #endif /* xmogInc_javalangreflectInvocationTargetException */
00440 

Generated on Fri Jun 16 10:18:56 2006 for JMS Courier for C++ by  doxygen 1.4.1