java data truncation_DataTruncation

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值