次の方法で共有


JavaException Class

Definition

[Java.Interop.JniTypeSignature("java/lang/Throwable")]
public class JavaException : Exception, IDisposable, Java.Interop.IJavaPeerable
[Java.Interop.JniTypeSignature("java/lang/Throwable", GenerateJavaPeer=false)]
public class JavaException : Exception, IDisposable, Java.Interop.IJavaPeerable
[<Java.Interop.JniTypeSignature("java/lang/Throwable")>]
type JavaException = class
    inherit Exception
    interface IJavaPeerable
    interface IDisposable
[<Java.Interop.JniTypeSignature("java/lang/Throwable", GenerateJavaPeer=false)>]
type JavaException = class
    inherit Exception
    interface IJavaPeerable
    interface IDisposable
Inheritance
JavaException
Attributes
Implements

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

JavaException()
JavaException(JniObjectReference, JniObjectReferenceOptions)
JavaException(String, Exception)
JavaException(String)

Fields

InvalidJniObjectReference

Properties

JavaStackTrace
JniIdentityHashCode
JniManagedPeerState
JniPeerMembers
PeerReference
StackTrace

Methods

Construct(JniObjectReference, JniObjectReferenceOptions)
Dispose()
Dispose(Boolean)
DisposeUnlessReferenced()
Equals(Object)
Finalize()
GetHashCode()
SetPeerReference(JniObjectReference, JniObjectReferenceOptions)
UnregisterFromRuntime()

Explicit Interface Implementations

IJavaPeerable.Disposed()
IJavaPeerable.Finalized()
IJavaPeerable.SetJniIdentityHashCode(Int32)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates)
IJavaPeerable.SetPeerReference(JniObjectReference)

Extension Methods

GetJniTypeName(IJavaPeerable)

Gets the JNI name of the type of the instance self.

JavaAs<TResult>(IJavaPeerable)

Try to coerce self to type TResult, checking that the coercion is valid on the Java side.

TryJavaCast<TResult>(IJavaPeerable, TResult)

Try to coerce self to type TResult, checking that the coercion is valid on the Java side.

Applies to