[]Struct jni_android_sys::java::lang::ExceptionInInitializerError

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

public class ExceptionInInitializerError

Required feature: "java-lang-ExceptionInInitializerError"

Methods

impl ExceptionInInitializerError

pub fn new<'env>(
    __jni_env: &'env Env
) -> Result<Local<'env, ExceptionInInitializerError>, Local<'env, Throwable>>
[src]

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

ExceptionInInitializerError

Required features: "java-lang-Throwable"

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

ExceptionInInitializerError

Required features: "java-lang-String"

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

getException

Required features: "java-lang-Throwable"

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

getCause

Required features: "java-lang-Throwable"

Methods from Deref<Target = LinkageError>

Trait Implementations

impl AsJValue for ExceptionInInitializerError

impl AsValidJObjectAndEnv for ExceptionInInitializerError

impl Deref for ExceptionInInitializerError

type Target = LinkageError

The resulting type after dereferencing.

impl JniType for ExceptionInInitializerError

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.