245 |
|
ibxeCharacterSetExists, |
246 |
|
ibxeUnknownUserCharSet, |
247 |
|
ibxeUninitializedInputParameter, |
248 |
< |
ibxeNegativeGenerator |
248 |
> |
ibxeNegativeGenerator, |
249 |
> |
ibxeServiceUnavailable, |
250 |
> |
ibxeBadConnectString, |
251 |
> |
ibxeServiceNotStarted, |
252 |
> |
ibxeNotRequiredDataSetSource, |
253 |
> |
ibxeNoLimboTransactionInsert, |
254 |
> |
ibxeDatabaseNotConnected, |
255 |
> |
ibxeMultiThreadRequired, |
256 |
> |
ibxeODSVersionRequired |
257 |
|
); |
258 |
|
|
259 |
|
function GetErrorMessage(ErrMess: TIBClientError): AnsiString; |
389 |
|
SServerNameMissing = 'Server Name Missing'; |
390 |
|
SQueryParamsError = 'Query Parameters missing or incorrect'; |
391 |
|
SStartParamsError = 'start Parameters missing or incorrect'; |
392 |
< |
SOutputParsingError = 'Unexpected Output buffer value (%d)'; |
392 |
> |
SOutputParsingError = 'Unexpected Output buffer value (%d) - %s'; |
393 |
|
SUseSpecificProcedures = 'Generic ServiceStart not applicable: Use Specific Procedures to set configuration params'; |
394 |
|
SSQLMonitorAlreadyPresent = 'SQL Monitor Instance is already present'; |
395 |
|
SDelphiException = 'DelphiException %s'; |
454 |
|
SUnknownUserCharSet = 'Unknown user character set "%s"'; |
455 |
|
SUninitializedInputParameter = 'SQL Param No. %d (%s) is uninitialised'; |
456 |
|
SNegativeGenerator = 'A Generator Increment cannot be negative'; |
457 |
+ |
SServiceUnavailable = 'Request Service is not available'; |
458 |
+ |
SBadConnectString = 'Parse Error in Connect String'; |
459 |
+ |
SServiceNotStarted = 'Cannot Query running service until the service has been started'; |
460 |
+ |
SNotRequiredDataSetSource = 'Object of class %s is not a valid dataset source'; |
461 |
+ |
SNoLimboTransactionInsert = 'You cannot add to a Limbo Transaction list'; |
462 |
+ |
SDatabaseNotConnected = 'Cannot connect using an unattached database'; |
463 |
+ |
SMultiThreadRequired = 'Multi-threading required for %s but not enabled. Please recompile with multi-threading support enabled. '+ |
464 |
+ |
'Hint: you probably need to add -dUseCThreads to the Custom Options.'; |
465 |
+ |
SODSVersionRequired = 'This feature requires ODS Version %s or later'; |
466 |
|
|
467 |
|
const |
468 |
|
IBErrorMessages: array[TIBClientError] of string = ( |
630 |
|
SCharacterSetExists, |
631 |
|
SUnknownUserCharSet, |
632 |
|
SUninitializedInputParameter, |
633 |
< |
SNegativeGenerator |
633 |
> |
SNegativeGenerator, |
634 |
> |
SServiceUnavailable, |
635 |
> |
SBadConnectString, |
636 |
> |
SServiceNotStarted, |
637 |
> |
SNotRequiredDataSetSource, |
638 |
> |
SNoLimboTransactionInsert, |
639 |
> |
SDatabaseNotConnected, |
640 |
> |
SMultiThreadRequired, |
641 |
> |
SODSVersionRequired |
642 |
|
); |
643 |
|
|
644 |
|
function GetErrorMessage(ErrMess: TIBClientError): AnsiString; |