|
JNIpp 1.0
JNI meets C++
|
Wrapper for java.lang.Throwable.
More...
Public Member Functions | |
| Throwable () | |
Creates java.lang.Throwable and wraps it. | |
| Throwable (PString message) | |
Creates java.lang.Throwable(message) and wraps it; don't call this constructor from derived classes. | |
| Throwable (PString message, PThrowable cause) | |
Creates java.lang.Throwable(message,cause) and wraps it; don't call this constructor from derived classes. | |
| Throwable (PThrowable cause) | |
Creates java.lang.Throwable(cause) and wraps it; don't call this constructor from derived classes. | |
| Throwable (const jni::LObject &throwable) | |
Wraps throwable. | |
| PString | GetMessage () const |
| Returns the detail message string of this throwable. | |
| PString | GetLocalizedMessage () const |
| Creates a localized description of this throwable. | |
| PThrowable | GetCause () const |
| Returns the cause of this throwable. | |
| PThrowable | InitCause (PThrowable cause) |
| Initializes the cause of this throwable to the specified value. | |
| void | PrintStackTrace () |
| Prints this throwable and its backtrace to the standard error stream. | |
Protected Member Functions | |
| Throwable (const jni::LObject &, jfieldID) | |
| Constructs live object. | |
Wrapper for java.lang.Throwable.
Don't throw instances of this class, use concrete exception type or java::RuntimeException.
See java::RuntimeException on how to throw exceptions.