pub fn tesseract_error_to_exception<'a: 'b, 'b>( error: &Error, env: &'b JNIEnv<'a>, ) -> Result<JObject<'a>>