Trait java_bindgen::exception::JNIEnvUtils
source · pub trait JNIEnvUtils {
// Required methods
fn j_throw_cause(&mut self, j_class: JExceptionClass, cause: &impl Error);
fn j_throw(&mut self, j_class: JExceptionClass);
fn j_throw_msg(&mut self, message: &str);
fn j_throw_exception(&mut self, ex: JException);
fn get_string_owned(&mut self, jstring: &JString<'_>) -> Result<String>;
}
Required Methods§
fn j_throw_cause(&mut self, j_class: JExceptionClass, cause: &impl Error)
fn j_throw(&mut self, j_class: JExceptionClass)
fn j_throw_msg(&mut self, message: &str)
fn j_throw_exception(&mut self, ex: JException)
fn get_string_owned(&mut self, jstring: &JString<'_>) -> Result<String>
Object Safety§
This trait is not object safe.