LibreOffice
LibreOffice 5.0 SDK API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Attributes | List of all members
DataTruncation Exception Referencepublished

reports a DataTruncation warning, on reads, or is thrown as a DataTruncation exception, on writes, when a data value is unexpectedly truncated. More...

import "DataTruncation.idl";

Inheritance diagram for DataTruncation:
SQLWarning SQLException Exception

Public Attributes

long Index
 is the index of the parameter or column value. More...
 
boolean IsParameter
 is TRUE if a parameter value is truncated. More...
 
boolean DuringRead
 is TRUE if a read was truncated. More...
 
long DataSize
 contains the number of bytes of data that should have been transferred. More...
 
long TransferSize
 contains the number of bytes of data actually transferred. More...
 

Detailed Description

reports a DataTruncation warning, on reads, or is thrown as a DataTruncation exception, on writes, when a data value is unexpectedly truncated.

The SQL state for a DataTruncation is 01004.

Member Data Documentation

long DataSize

contains the number of bytes of data that should have been transferred.

This number may be approximate if data conversions were being performed. The value may be -1 if the size is unknown.

boolean DuringRead

is TRUE if a read was truncated.

long Index

is the index of the parameter or column value.

boolean IsParameter

is TRUE if a parameter value is truncated.

long TransferSize

contains the number of bytes of data actually transferred.

The value may be -1 if the size is unknown.


The documentation for this exception was generated from the following file: