JNIpp 1.0
JNI meets C++
java::RuntimeException Class Reference

Wrapper for java.lang.RuntimeException. More...

Inheritance diagram for java::RuntimeException:
java::Exception java::Throwable java::Object jni::AbstractObject

List of all members.

Public Member Functions

 RuntimeException ()
 Creates java.lang.RuntimeException and wraps it.
 RuntimeException (PString message)
 Creates java.lang.RuntimeException(message) and wraps it; don't call this constructor from derived classes.
 RuntimeException (PString message, PThrowable cause)
 Creates java.lang.RuntimeException(message,cause) and wraps it; don't call this constructor from derived classes.
 RuntimeException (PThrowable cause)
 Creates java.lang.RuntimeException(cause) and wraps it; don't call this constructor from derived classes.
 RuntimeException (const jni::LObject &exception)
 Wraps exception.

Protected Member Functions

 RuntimeException (const jni::LObject &, jfieldID)
 Constructs live object.

Detailed Description

Wrapper for java.lang.RuntimeException.

The only correct way to throw a Java exception is to throw its ObjectPointer by value: