[]Struct jni_android_sys::java::io::WriteAbortedException

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

public class WriteAbortedException

Required feature: "java-io-WriteAbortedException"

Methods

impl WriteAbortedException

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

WriteAbortedException

Required features: "java-lang-Exception", "java-lang-String"

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

getMessage

Required features: "java-lang-String"

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

getCause

Required features: "java-lang-Throwable"

pub fn detail<'env>(&'env self) -> Option<Local<'env, Exception>>[src]

get public detail

Required feature: "java-lang-Exception"

pub fn set_detail<'env, 'obj>(
    &'env self,
    value: impl Into<Option<&'obj Exception>>
)
[src]

set public detail

Required feature: "java-lang-Exception"

Trait Implementations

impl AsJValue for WriteAbortedException

impl AsValidJObjectAndEnv for WriteAbortedException

impl Deref for WriteAbortedException

type Target = ObjectStreamException

The resulting type after dereferencing.

impl JniType for WriteAbortedException

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.