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

java::lang::RuntimeException Class Reference

RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine. More...

#include <java_lang_RuntimeException.h>

Inheritance diagram for java::lang::RuntimeException:

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

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::RuntimeException
array1D
typedef ::xmog_java_array_template<
::xmog_java_array_template<
::java::lang::RuntimeException > > 
array2D

Public Member Functions

 RuntimeException (const ::java::lang::String &message, const ::java::lang::Throwable &cause,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags)
 Constructs a new runtime exception with the specified detail message and cause.
 RuntimeException (::xmog_dummy _use_java_ctor,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags)
 Constructs a new runtime exception with null as its detail message.
 RuntimeException (const ::java::lang::Throwable &cause,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags)
 Constructs a new runtime exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
 RuntimeException (const ::java::lang::String &message,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags)
 Constructs a new runtime exception with the specified detail message.

Detailed Description

RuntimeException is the superclass of those exceptions that can be thrown during the normal operation of the Java Virtual Machine.

A method is not required to declare in its throws clause any subclasses of RuntimeException that might be thrown during the execution of the method but not caught.

Author:
Frank Yellin


Constructor & Destructor Documentation

java::lang::RuntimeException::RuntimeException const ::java::lang::String message,
::xmog_localenv p_xenv = NULL,
xmog_flags  f_xflags = xmogDefaultFlags
 

Constructs a new runtime exception with the specified detail message.

The cause is not initialized, and may subsequently be initialized by a call to .

Parameters:
message the detail message. The detail message is saved for later retrieval by the method.
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::RuntimeException::RuntimeException const ::java::lang::Throwable cause,
::xmog_localenv p_xenv = NULL,
xmog_flags  f_xflags = xmogDefaultFlags
 

Constructs a new runtime exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).

This constructor is useful for runtime exceptions that are little more than wrappers for other throwables.

Parameters:
cause the cause (which is saved for later retrieval by the method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
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::RuntimeException::RuntimeException ::xmog_dummy  _use_java_ctor,
::xmog_localenv p_xenv = NULL,
xmog_flags  f_xflags = xmogDefaultFlags
 

Constructs a new runtime exception with null as its detail message.

The cause is not initialized, and may subsequently be initialized by a call to .

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.

java::lang::RuntimeException::RuntimeException const ::java::lang::String message,
const ::java::lang::Throwable cause,
::xmog_localenv p_xenv = NULL,
xmog_flags  f_xflags = xmogDefaultFlags
 

Constructs a new runtime exception with the specified detail message and cause.

Note that the detail message associated with cause is not automatically incorporated in this runtime exception's detail message.

Parameters:
message the detail message (which is saved for later retrieval by the method).
cause the cause (which is saved for later retrieval by the method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
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:31 2006 for JMS Courier for C++ by  doxygen 1.4.1