DOMException DOMException Class

Definition

[Android.Runtime.Register("org/w3c/dom/DOMException", ApiSince=1, DoNotGenerateAcw=true)]
public class DOMException : Java.Lang.RuntimeException
type DOMException = class
    inherit RuntimeException
Inheritance
Attributes

Remarks

Android platform documentation

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

DOMException(Int16, String) DOMException(Int16, String)
DOMException(IntPtr, JniHandleOwnership) DOMException(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

Fields

DomstringSizeErr DomstringSizeErr

If the specified range of text does not fit into a DOMString.

HierarchyRequestErr HierarchyRequestErr

If any Node is inserted somewhere it doesn't belong.

IndexSizeErr IndexSizeErr

If index or size is negative, or greater than the allowed value.

InuseAttributeErr InuseAttributeErr

If an attempt is made to add an attribute that is already in use elsewhere.

InvalidAccessErr InvalidAccessErr

If a parameter or an operation is not supported by the underlying object.

InvalidCharacterErr InvalidCharacterErr

If an invalid or illegal character is specified, such as in an XML name.

InvalidModificationErr InvalidModificationErr

If an attempt is made to modify the type of the underlying object.

InvalidStateErr InvalidStateErr

If an attempt is made to use an object that is not, or is no longer, usable.

is_generated is_generated Inherited from Throwable
NamespaceErr NamespaceErr

If an attempt is made to create or change an object in a way which is incorrect with regard to namespaces.

NoDataAllowedErr NoDataAllowedErr

If data is specified for a Node which does not support data.

NoModificationAllowedErr NoModificationAllowedErr

If an attempt is made to modify an object where modifications are not allowed.

NotFoundErr NotFoundErr

If an attempt is made to reference a Node in a context where it does not exist.

NotSupportedErr NotSupportedErr

If the implementation does not support the requested type of object or operation.

SyntaxErr SyntaxErr

If an invalid or illegal string is specified.

TypeMismatchErr TypeMismatchErr
ValidationErr ValidationErr
WrongDocumentErr WrongDocumentErr

If a Node is used in a different document than the one that created it (that doesn't support it).

Properties

Cause Cause

Returns the cause of this Throwable, or null if there is no cause.

(Inherited from Throwable)
Class Class Inherited from Throwable
Code Code
Handle Handle

The handle to the underlying Android instance.

(Inherited from Throwable)
IJavaObjectEx.IsProxy IJavaObjectEx.IsProxy Inherited from Throwable
IJavaObjectEx.KeyHandle IJavaObjectEx.KeyHandle Inherited from Throwable
IJavaObjectEx.NeedsActivation IJavaObjectEx.NeedsActivation Inherited from Throwable
IJavaPeerable.JniManagedPeerState IJavaPeerable.JniManagedPeerState Inherited from Throwable
JniIdentityHashCode JniIdentityHashCode Inherited from Throwable
JniPeerMembers JniPeerMembers
LocalizedMessage LocalizedMessage

Returns the detail message which was provided when this Throwable was created.

(Inherited from Throwable)
Message Message

Returns the detail message which was provided when this Throwable was created.

(Inherited from Throwable)
PeerReference PeerReference Inherited from Throwable
StackTrace StackTrace Inherited from Throwable
ThresholdClass ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

ThresholdType ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Methods

AddSuppressed(Throwable) AddSuppressed(Throwable)

Adds throwable to the list of throwables suppressed by this.

(Inherited from Throwable)
Dispose() Dispose() Inherited from Throwable
Dispose(Boolean) Dispose(Boolean) Inherited from Throwable
FillInStackTrace() FillInStackTrace()

Records the stack trace from the point where this method has been called to this Throwable.

(Inherited from Throwable)
GetStackTrace() GetStackTrace()

Returns a clone of the array of stack trace elements of this Throwable.

(Inherited from Throwable)
GetSuppressed() GetSuppressed()

Returns the throwables suppressed by this.

(Inherited from Throwable)
InitCause(Throwable) InitCause(Throwable)

Initializes the cause of this Throwable.

(Inherited from Throwable)
PrintStackTrace() PrintStackTrace()

Writes a printable representation of this Throwable's stack trace to the System.err stream.

(Inherited from Throwable)
PrintStackTrace(PrintStream) PrintStackTrace(PrintStream)

Writes a printable representation of this Throwable's stack trace to the given print stream.

(Inherited from Throwable)
PrintStackTrace(PrintWriter) PrintStackTrace(PrintWriter)

Writes a printable representation of this Throwable's stack trace to the specified print writer.

(Inherited from Throwable)
SetHandle(IntPtr, JniHandleOwnership) SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Throwable)
SetStackTrace(StackTraceElement[]) SetStackTrace(StackTraceElement[])

Sets the array of stack trace elements.

(Inherited from Throwable)
ToString() ToString() Inherited from Throwable
UnregisterFromRuntime() UnregisterFromRuntime() Inherited from Throwable

Explicit Interface Implementations

IJavaObjectEx.ToLocalJniHandle() IJavaObjectEx.ToLocalJniHandle() Inherited from Throwable
IJavaPeerable.Disposed() IJavaPeerable.Disposed() Inherited from Throwable
IJavaPeerable.DisposeUnlessReferenced() IJavaPeerable.DisposeUnlessReferenced() Inherited from Throwable
IJavaPeerable.Finalized() IJavaPeerable.Finalized() Inherited from Throwable
IJavaPeerable.SetJniIdentityHashCode(Int32) IJavaPeerable.SetJniIdentityHashCode(Int32) Inherited from Throwable
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) Inherited from Throwable
IJavaPeerable.SetPeerReference(JniObjectReference) IJavaPeerable.SetPeerReference(JniObjectReference) Inherited from Throwable

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable) GetJniTypeName(IJavaPeerable)

Applies to