[]Struct jni_android_sys::org::xmlpull::v1::XmlPullParserException

#[repr(transparent)]
pub struct XmlPullParserException(_);

public class XmlPullParserException

Required feature: "org-xmlpull-v1-XmlPullParserException"

Methods

impl XmlPullParserException

pub fn new_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, XmlPullParserException>, Local<'env, Throwable>>
[src]

XmlPullParserException

Required features: "java-lang-String"

pub fn new_String_XmlPullParser_Throwable<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env XmlPullParser>>,
    arg2: impl Into<Option<&'env Throwable>>
) -> Result<Local<'env, XmlPullParserException>, Local<'env, Throwable>>
[src]

XmlPullParserException

Required features: "java-lang-String", "java-lang-Throwable", "org-xmlpull-v1-XmlPullParser"

pub fn getDetail<'env>(
    &'env self
) -> Result<Option<Local<'env, Throwable>>, Local<'env, Throwable>>
[src]

getDetail

Required features: "java-lang-Throwable"

pub fn getLineNumber<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn getColumnNumber<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn printStackTrace<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

Methods from Deref<Target = Exception>

Trait Implementations

impl AsJValue for XmlPullParserException

impl AsValidJObjectAndEnv for XmlPullParserException

impl Deref for XmlPullParserException

type Target = Exception

The resulting type after dereferencing.

impl JniType for XmlPullParserException

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.