BatchUpdateException BatchUpdateException Class

Definition

This exception is thrown if a problem occurs during a batch update operation.

[Android.Runtime.Register("java/sql/BatchUpdateException", ApiSince=1, DoNotGenerateAcw=true)]
public class BatchUpdateException : Java.Sql.SQLException, IDisposable
type BatchUpdateException = class
    inherit SQLException
    interface ISerializable
    interface IJavaObject
    interface IDisposable
Inheritance
Attributes
Implements

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

BatchUpdateException() BatchUpdateException()

Creates a default BatchUpdateException with the parameters reason, SQLState, and update counts set to null and the vendor code set to 0.

BatchUpdateException(Int32[]) BatchUpdateException(Int32[])

Creates a BatchUpdateException with the updateCounts set to the supplied value.

BatchUpdateException(Int32[], Throwable) BatchUpdateException(Int32[], Throwable)

Creates an BatchUpdateException object.

BatchUpdateException(IntPtr, JniHandleOwnership) BatchUpdateException(IntPtr, JniHandleOwnership)

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

BatchUpdateException(String, Int32[]) BatchUpdateException(String, Int32[])

Creates a BatchUpdateException with the updateCounts and reason set to the supplied values.

BatchUpdateException(String, Int32[], Throwable) BatchUpdateException(String, Int32[], Throwable)

Creates an BatchUpdateException object.

BatchUpdateException(String, String, Int32, Int32[]) BatchUpdateException(String, String, Int32, Int32[])

Creates a BatchUpdateException for the case where all relevant information is provided.

BatchUpdateException(String, String, Int32, Int32[], Throwable) BatchUpdateException(String, String, Int32, Int32[], Throwable)

Creates an BatchUpdateException object.

BatchUpdateException(String, String, Int32[]) BatchUpdateException(String, String, Int32[])

Creates a BatchUpdateException with the reason, SQLState and updateCounts set to the supplied values.

BatchUpdateException(String, String, Int32[], Throwable) BatchUpdateException(String, String, Int32[], Throwable)

Creates an BatchUpdateException object.

BatchUpdateException(Throwable) BatchUpdateException(Throwable)

Creates an BatchUpdateException object.

Properties

Cause Cause

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

(Inherited from Throwable)
Class Class Inherited from Throwable
ErrorCode ErrorCode

Returns the integer error code for this SQLException.

(Inherited from SQLException)
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)
NextException NextException

Retrieves the SQLException chained to this SQLException, if any.

(Inherited from SQLException)
PeerReference PeerReference Inherited from Throwable
SQLState SQLState

Retrieves the SQLState description string for this SQLException object.

(Inherited from SQLException)
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)
GetUpdateCounts() GetUpdateCounts()

update count

InitCause(Throwable) InitCause(Throwable)

Initializes the cause of this Throwable.

(Inherited from Throwable)
Iterator() Iterator()

Obsolete.

(Inherited from SQLException)
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

Fields

is_generated is_generated Inherited from Throwable

Explicit Interface Implementations

IIterable.Iterator() IIterable.Iterator() Inherited from SQLException
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)
ToEnumerable(IIterable) ToEnumerable(IIterable)
ToEnumerable<T>(IIterable) ToEnumerable<T>(IIterable)

Applies to