DataTruncation Class
Definition
Namespace:
Assembly:Mono.Android.dll
An exception which is thrown when a JDBC driver unexpectedly truncates a data
value either when reading (resulting in warning), or when writing data
(resulting in an error).
In this article
[Android.Runtime.Register("java/sql/DataTruncation", ApiSince=1, DoNotGenerateAcw=true)]
public class DataTruncation : Java.Sql.SQLWarning, IDisposable
type DataTruncation = class
inherit SQLWarning
interface ISerializable
interface IJavaObject
interface IDisposable
Remarks
Portions of this page are modifications based on work created and shared by the
Constructors
Fields
Properties
Returns the cause of this Throwable, or null if there is
no cause.
(Inherited from Throwable)
(Inherited from Throwable)
Gets the number of bytes of data that should have been read/written.
Returns the integer error code for this SQLException.
(Inherited from SQLException)
The handle to the underlying Android instance.
(Inherited from Throwable)
Gets the index of the column or of the parameter that was truncated.
Returns the detail message which was provided when this
Throwable was created.
(Inherited from Throwable)
Returns the detail message which was provided when this
Throwable was created.
(Inherited from Throwable)
Retrieves the SQLException chained to this SQLException,
if any.
(Inherited from SQLException)
Gets the next SQLWarning chained to this SQLWarning object.
(Inherited from SQLWarning)
Gets whether the value truncated was a parameter value or a column value.
Gets whether the value was truncated on a read operation or a write
operation
Retrieves the SQLState description string for this SQLException object.
(Inherited from SQLException)
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
Gets the number of bytes of data that was actually read or written.
Methods
Adds throwable to the list of throwables suppressed by this.
(Inherited from Throwable)
Records the stack trace from the point where this method has been called
to this Throwable.
(Inherited from Throwable)
Returns a clone of the array of stack trace elements of this Throwable.
(Inherited from Throwable)
Returns the throwables suppressed by this.
(Inherited from Throwable)
Initializes the cause of this Throwable.
(Inherited from Throwable)
Obsolete.
(Inherited from SQLException)
Writes a printable representation of this Throwable's stack trace
to the System.err stream.
(Inherited from Throwable)
Writes a printable representation of this Throwable's stack trace
to the given print stream.
(Inherited from Throwable)
Writes a printable representation of this Throwable's stack trace
to the specified print writer.
(Inherited from Throwable)
Sets the array of stack trace elements.
(Inherited from Throwable)
Explicit Interface Implementations
Extension Methods
Applies to