[]Struct jni_android_sys::java::security::PrivilegedActionException

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

public class PrivilegedActionException

Required feature: "java-security-PrivilegedActionException"

Methods

impl PrivilegedActionException

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

PrivilegedActionException

Required features: "java-lang-Exception"

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

getException

Required features: "java-lang-Exception"

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

getCause

Required features: "java-lang-Throwable"

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

toString

Required features: "java-lang-String"

Methods from Deref<Target = Exception>

Trait Implementations

impl AsJValue for PrivilegedActionException

impl AsValidJObjectAndEnv for PrivilegedActionException

impl Deref for PrivilegedActionException

type Target = Exception

The resulting type after dereferencing.

impl JniType for PrivilegedActionException

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.