[]Struct jni_android_sys::java::sql::SQLTransientException

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

public class SQLTransientException

Required feature: java-sql-SQLTransientException

Methods

impl SQLTransientException

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

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

Required features: "java-lang-String"

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

Required features: "java-lang-String"

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

Required features: "java-lang-String"

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

Required features: "java-lang-Throwable"

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

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

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

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

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

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

Methods from Deref<Target = SQLException>

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

getSQLState

Required features: "java-lang-String"

pub fn get_error_code<'env>(&'env self) -> Result<i32>[src]

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

getNextException

Required features: "java-sql-SQLException"

pub fn set_next_exception<'env>(
    &'env self,
    arg0: impl Into<Option<&'env SQLException>>
) -> Result<()>
[src]

setNextException

Required features: "java-sql-SQLException"

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

iterator

Required features: "java-util-Iterator"

Trait Implementations

impl Deref for SQLTransientException

type Target = SQLException

The resulting type after dereferencing.

impl AsValidJObjectAndEnv for SQLTransientException

impl AsJValue for SQLTransientException

Auto Trait Implementations

Blanket Implementations

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.

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

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

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