feat: JniToolboxError trait also for JniError

This commit is contained in:
əlemi 2024-09-21 20:15:04 +02:00
parent 8f272bd905
commit f136071c10
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -9,3 +9,9 @@ impl JniToolboxError for jni::errors::Error {
"java/lang/RuntimeException".to_string() "java/lang/RuntimeException".to_string()
} }
} }
impl JniToolboxError for jni::errors::JniError {
fn jclass(&self) -> String {
"java/lang/RuntimeException".to_string()
}
}