java :: JavaException :: defaultinit
java $ JavaException :: SELF
Type of this instance, automatically specialized in every classjava $ JavaException :: new_global_ref
Returns a global reference to the Java object behind this referencejava $ JavaException :: pop_from_local_frame_with_env
Java implementation ofpop_from_local_frame
core :: Pointer :: address_is_null
Is the address behind this Object at NULL?java :: JavaThrowable :: cause
Java implementation: java.lang.Throwable java.lang.Throwable.getCause()core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
java :: JavaThrowable :: defaultinit
jvm :: JavaObject :: defaultinit
java :: JavaException :: defaultinit
core :: Object :: defaultinit
core :: Pointer :: defaultinit
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
java :: JavaThrowable :: localized_message
Java implementation: java.lang.String java.lang.Throwable.getLocalizedMessage()java :: JavaThrowable :: message
Java implementation: java.lang.String java.lang.Throwable.getMessage()jvm :: JavaObject :: new_global_ref
Returns a global reference to the Java object behind this referencecore :: Object :: output_class_name
Display class name on stdout (debug only).jvm :: JavaObject :: pop_from_local_frame
Pops the current local reference frame and return a valid reference to selfjvm :: JavaObject :: pop_from_local_frame_with_env
Java implementation ofpop_from_local_frame
java :: JavaThrowable :: print_stack_trace
Java implementation: java.lang.Throwable.printStackTrace()jvm :: JavaObject :: to_java_string
JavaString
representation of self
using Java's toString
# Java class: java.lang.Exception
extern class JavaException in "Java" `{ java.lang.Exception `}
super JavaThrowable
redef fun new_global_ref import sys, Sys.jni_env `{
Sys sys = JavaException_sys(self);
JNIEnv *env = Sys_jni_env(sys);
return (*env)->NewGlobalRef(env, self);
`}
redef fun pop_from_local_frame_with_env(jni_env) `{
return (*jni_env)->PopLocalFrame(jni_env, self);
`}
end
lib/java/ffi_support.nit:237,1--250,3