142 |
|
ibxeTokenQueueUnderflow, |
143 |
|
ibxErrorParsing, |
144 |
|
ibxeDLInfoError, |
145 |
< |
ibxeDifferentAPIs |
145 |
> |
ibxeDifferentAPIs, |
146 |
> |
ibxeInvalidDateTimeStr, |
147 |
> |
ibxeBadTimeZoneID, |
148 |
> |
ibxeBadBCDConversion, |
149 |
> |
ibxeBadTimeZoneName, |
150 |
> |
ibxeTimeZoneUnknown, |
151 |
> |
ibxeBadTimeSpecification, |
152 |
> |
ibxeBCDTooBig, |
153 |
> |
ibxeInvalidTimeZoneID, |
154 |
> |
ibxeBadTimestampOrNoTimeZoneDBEntry, |
155 |
> |
ibxeBCDOverflow, |
156 |
> |
ibxeNoTimezoneSupport, |
157 |
> |
ibxeDecFloatNotSupported, |
158 |
> |
ibxeInt128NotSupported, |
159 |
> |
ibxeUnknownParamTypeName |
160 |
|
); |
161 |
|
|
162 |
|
function GetErrorMessage(ErrMess: TIBClientError): AnsiString; |
194 |
|
SSQLClosed = 'IBSQL Closed'; |
195 |
|
SUnknownSQLDataType = 'Unknown SQL Data type (%d)'; |
196 |
|
SInvalidColumnIndex = 'Invalid column index (index exceeds permitted range)'; |
197 |
< |
SInvalidDataConversion = 'Invalid data conversion'; |
197 |
> |
SInvalidDataConversion = 'Invalid data conversion from %s'; |
198 |
|
SBlobCannotBeRead = 'Blob stream cannot be read'; |
199 |
|
SBlobCannotBeWritten = 'Blob stream cannot be written'; |
200 |
|
SBlobNotOpen = 'The Blob is not open'; |
249 |
|
SErrorParsing = 'Error parsing SQL Statement at clause starting with %s'; |
250 |
|
SDLInfoError = 'dlinfo returned error - %s'; |
251 |
|
SDifferentAPIs = 'All transaction attachments must use the same Firebird Library'; |
252 |
+ |
SInvalidDateTimeStr = '%s is not a valid Date/Time string'; |
253 |
+ |
SBadTimeZoneID = 'Invalid Time Zone ID (%d,%d)'; |
254 |
+ |
SBadBCDConversion = 'Conversion to BCD failed'; |
255 |
+ |
SBadTimeZoneName = 'Invalid Time Zone Name "%s"'; |
256 |
+ |
STimeZoneUnknown = 'Time Zone Unknown'; |
257 |
+ |
SBadTimeSpecification = '%d:%d:%d.%d is not a valid time specification'; |
258 |
+ |
SBCDTooBig = 'BCD Precision (%d) is too large for Firebird Data Type max precision (%d)'; |
259 |
+ |
SInvalidTimeZoneID = 'Invalid Time Zone ID (%d)'; |
260 |
+ |
SBadTimestampOrNoTimeZoneDBEntry = 'Bad Timestamp or missing time zone DB entry (%s) TZ ID = %d'; |
261 |
+ |
SBCDOverflow = 'BCD Precision too large for Firebird data type,[%s]'; |
262 |
+ |
SNoTimezoneSupport = 'TIME/TIMESTAMP WITH TIME ZONE data type not supported'; |
263 |
+ |
SDecFloatNotSupported = 'DecFloat Data Type not supported'; |
264 |
+ |
SInt128NotSupported = 'INT128 Data Type not supported'; |
265 |
+ |
SUnknownParamTypeName = '%s:Unknown Param Type Name "%s"'; |
266 |
|
|
267 |
|
const |
268 |
|
IBErrorMessages: array[TIBClientError] of string = ( |
332 |
|
STokenQueueUnderflow, |
333 |
|
SErrorParsing, |
334 |
|
SDLInfoError, |
335 |
< |
SDifferentAPIs |
335 |
> |
SDifferentAPIs, |
336 |
> |
SInvalidDateTimeStr, |
337 |
> |
SBadTimeZoneID, |
338 |
> |
SBadBCDConversion, |
339 |
> |
SBadTimeZoneName, |
340 |
> |
STimeZoneUnknown, |
341 |
> |
SBadTimeSpecification, |
342 |
> |
SBCDTooBig, |
343 |
> |
SInvalidTimeZoneID, |
344 |
> |
SBadTimestampOrNoTimeZoneDBEntry, |
345 |
> |
SBCDOverflow, |
346 |
> |
SNoTimezoneSupport, |
347 |
> |
SDecFloatNotSupported, |
348 |
> |
SInt128NotSupported, |
349 |
> |
SUnknownParamTypeName |
350 |
|
); |
351 |
|
|
352 |
|
function GetErrorMessage(ErrMess: TIBClientError): AnsiString; |