[]Struct jni_android_sys::java::util::regex::PatternSyntaxException

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

public class PatternSyntaxException

Required feature: "java-util-regex-PatternSyntaxException"

Methods

impl PatternSyntaxException

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

PatternSyntaxException

Required features: "java-lang-String"

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

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

getDescription

Required features: "java-lang-String"

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

getPattern

Required features: "java-lang-String"

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

getMessage

Required features: "java-lang-String"

Methods from Deref<Target = IllegalArgumentException>

Trait Implementations

impl AsJValue for PatternSyntaxException

impl AsValidJObjectAndEnv for PatternSyntaxException

impl Deref for PatternSyntaxException

type Target = IllegalArgumentException

The resulting type after dereferencing.

impl JniType for PatternSyntaxException

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.