Struct rust_jni::Exception[][src]

pub struct Exception<'env> { /* fields omitted */ }

A dual token to NoException that represents that there might be a pending exception in Java.

Read more about exception tokens in NoException documentation.

Methods

impl<'env> Exception<'env>
[src]

Get and clear the pending exception and a NoException token to call more JNI methods. The Exception token is consumed by this method and can't be used any more.

Trait Implementations

impl<'env> Debug for Exception<'env>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'env> !Send for Exception<'env>

impl<'env> !Sync for Exception<'env>