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

java::lang::InstantiationException Class Reference

Thrown when an application tries to create an instance of a class using the newInstance method in class Class, but the specified class object cannot be instantiated because it is an interface or is an abstract class. More...

#include <java_lang_InstantiationException.h>

Inheritance diagram for java::lang::InstantiationException:

Inheritance graph
[legend]
Collaboration diagram for java::lang::InstantiationException:

Collaboration graph
[legend]
List of all members.

Public Types

enum  {
  xmogDefaultFlags = xmog_base::GLOBAL, xmogMajorVersion = 3, xmogMinorVersion = 2, xmogPatchVersion = 9,
  xmogBuildNumber = 2047
}
typedef ::xmog_java_array_template<
::java::lang::InstantiationException
array1D
typedef ::xmog_java_array_template<
::xmog_java_array_template<
::java::lang::InstantiationException > > 
array2D

Public Member Functions

 InstantiationException (::xmog_dummy _use_java_ctor,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags)
 Constructs an InstantiationException with no detail message.
 InstantiationException (const ::java::lang::String &s,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags)
 Constructs an InstantiationException with the specified detail message.

Detailed Description

Thrown when an application tries to create an instance of a class using the newInstance method in class Class, but the specified class object cannot be instantiated because it is an interface or is an abstract class.

Author:
unascribed


Constructor & Destructor Documentation

java::lang::InstantiationException::InstantiationException const ::java::lang::String s,
::xmog_localenv p_xenv = NULL,
xmog_flags  f_xflags = xmogDefaultFlags
 

Constructs an InstantiationException with the specified detail message.

Parameters:
s the detail message.
p_xenv the local call environment. The default value is NULL.
f_xflags the flags that allow control over the reference type and other internal matters. The default value is xmog_base::GLOBAL.

java::lang::InstantiationException::InstantiationException ::xmog_dummy  _use_java_ctor,
::xmog_localenv p_xenv = NULL,
xmog_flags  f_xflags = xmogDefaultFlags
 

Constructs an InstantiationException with no detail message.

Parameters:
_use_java_ctor indicates that you want to delegate to a Java constructor whose natural proxy conflicts with a C++ requirement.
p_xenv the local call environment. The default value is NULL.
f_xflags the flags that allow control over the reference type and other internal matters. The default value is xmog_base::GLOBAL.


The documentation for this class was generated from the following file:
Generated on Fri Jun 16 10:19:26 2006 for JMS Courier for C++ by  doxygen 1.4.1