Interface JaybirdErrorCodes


public interface JaybirdErrorCodes
Constants for Jaybird specific error codes.

The error code of Jaybird use the same scheme as the rest of Firebird error codes. The error codes are not maintained within Firebird, but here and in associated files jaybird_error_msg.properties and jaybird_error_sqlstates.properties

For error codes, Firebird has reserved facility code 26 for Jaybird. Facility code 26 has error codes in range 337248256 - 337264639. See Firebird src\common\msg_encode.h for calculation of this range.

Since:
3.0
Author:
Mark Rotteveel
  • Field Details

    • jb_range_start

      static final int jb_range_start
      See Also:
    • jb_blobGetSegmentNegative

      static final int jb_blobGetSegmentNegative
      See Also:
    • jb_blobPutSegmentEmpty

      static final int jb_blobPutSegmentEmpty
      See Also:
    • jb_blobPutSegmentTooLong

      @Deprecated(since="6") static final int jb_blobPutSegmentTooLong
      Deprecated.
      Jaybird no longer uses this error code
      See Also:
    • jb_blobIdAlreadySet

      static final int jb_blobIdAlreadySet
      See Also:
    • jb_invalidClumpletStructure

      static final int jb_invalidClumpletStructure
      See Also:
    • jb_clumpletReaderUsageError

      static final int jb_clumpletReaderUsageError
      See Also:
    • jb_invalidConnectionString

      static final int jb_invalidConnectionString
      See Also:
    • jb_concurrencyResetReadOnlyReasonNotUpdatable

      static final int jb_concurrencyResetReadOnlyReasonNotUpdatable
      See Also:
    • jb_resultSetTypeUpgradeReasonHoldability

      @Deprecated(since="6") static final int jb_resultSetTypeUpgradeReasonHoldability
      Deprecated.
      Jaybird no longer uses this error code
      See Also:
    • jb_resultSetTypeDowngradeReasonScrollSensitive

      static final int jb_resultSetTypeDowngradeReasonScrollSensitive
      See Also:
    • jb_concurrencyResetReadOnlyReasonStoredProcedure

      static final int jb_concurrencyResetReadOnlyReasonStoredProcedure
      See Also:
    • jb_errorAsynchronousEventChannelClose

      static final int jb_errorAsynchronousEventChannelClose
      See Also:
    • jb_unableToCancelEventReasonNotConnected

      static final int jb_unableToCancelEventReasonNotConnected
      See Also:
    • jb_executeImmediateRequiresTransactionAttached

      static final int jb_executeImmediateRequiresTransactionAttached
      See Also:
    • jb_executeImmediateRequiresNoTransactionDetached

      static final int jb_executeImmediateRequiresNoTransactionDetached
      See Also:
    • jb_receiveTrustedAuth_NotSupported

      static final int jb_receiveTrustedAuth_NotSupported
      See Also:
    • jb_notConnectedToServer

      static final int jb_notConnectedToServer
      See Also:
    • jb_notAttachedToDatabase

      static final int jb_notAttachedToDatabase
      See Also:
    • jb_maxStatementLengthExceeded

      static final int jb_maxStatementLengthExceeded
      See Also:
    • jb_unexpectedOperationCode

      static final int jb_unexpectedOperationCode
      See Also:
    • jb_unsupportedFieldType

      static final int jb_unsupportedFieldType
      See Also:
    • jb_invalidFetchDirection

      static final int jb_invalidFetchDirection
      See Also:
    • jb_operationNotAllowedOnForwardOnly

      static final int jb_operationNotAllowedOnForwardOnly
      See Also:
    • jb_cryptNoCryptKeyAvailable

      static final int jb_cryptNoCryptKeyAvailable
      See Also:
    • jb_cryptAlgorithmNotAvailable

      static final int jb_cryptAlgorithmNotAvailable
      See Also:
    • jb_cryptInvalidKey

      static final int jb_cryptInvalidKey
      See Also:
    • jb_invalidConnectionPropertyValue

      static final int jb_invalidConnectionPropertyValue
      See Also:
    • jb_dbCryptCallbackInitError

      static final int jb_dbCryptCallbackInitError
      See Also:
    • jb_dbCryptDataError

      static final int jb_dbCryptDataError
      See Also:
    • jb_hashAlgorithmNotAvailable

      static final int jb_hashAlgorithmNotAvailable
      See Also:
    • jb_noKnownAuthPlugins

      static final int jb_noKnownAuthPlugins
      See Also:
    • jb_invalidGeneratedKeysOption

      static final int jb_invalidGeneratedKeysOption
      See Also:
    • jb_generatedKeysSupportNotAvailable

      static final int jb_generatedKeysSupportNotAvailable
      See Also:
    • jb_generatedKeysArrayEmptyOrNull

      static final int jb_generatedKeysArrayEmptyOrNull
      See Also:
    • jb_generatedKeysInvalidColumnPosition

      static final int jb_generatedKeysInvalidColumnPosition
      See Also:
    • jb_generatedKeysNoColumnsFound

      static final int jb_generatedKeysNoColumnsFound
      See Also:
    • jb_explainedExecutionPlanNotSupported

      static final int jb_explainedExecutionPlanNotSupported
      See Also:
    • jb_failedToLoadNativeLibrary

      static final int jb_failedToLoadNativeLibrary
      See Also:
    • jb_blobClosed

      static final int jb_blobClosed
      See Also:
    • jb_invalidTimeout

      static final int jb_invalidTimeout
      See Also:
    • jb_invalidExecutor

      static final int jb_invalidExecutor
      See Also:
    • jb_operationClosed

      static final int jb_operationClosed
      See Also:
    • jb_closeCursorBeforeCount

      static final int jb_closeCursorBeforeCount
      See Also:
    • jb_invalidParameterCount

      static final int jb_invalidParameterCount
      See Also:
    • jb_parameterNotSet

      static final int jb_parameterNotSet
      See Also:
    • jb_stmtNotAllocated

      static final int jb_stmtNotAllocated
      See Also:
    • jb_stmtClosed

      static final int jb_stmtClosed
      See Also:
    • jb_stmtInErrorRequireClose

      static final int jb_stmtInErrorRequireClose
      See Also:
    • jb_stmtInErrorRequireCLose

      @Deprecated(forRemoval=true, since="6") static final int jb_stmtInErrorRequireCLose
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • jb_invalidTransactionStateTransition

      static final int jb_invalidTransactionStateTransition
      See Also:
    • jb_unexpectedInfoResponse

      static final int jb_unexpectedInfoResponse
      See Also:
    • jb_infoResponseEmpty

      static final int jb_infoResponseEmpty
      See Also:
    • jb_couldNotChangeSoTimeout

      static final int jb_couldNotChangeSoTimeout
      See Also:
    • jb_localTransactionActive

      static final int jb_localTransactionActive
      See Also:
    • jb_invalidFetchSize

      static final int jb_invalidFetchSize
      See Also:
    • jb_operationNotCancellable

      static final int jb_operationNotCancellable
      See Also:
    • jb_executeQueryWithTxStmt

      static final int jb_executeQueryWithTxStmt
      See Also:
    • jb_commitStatementNotAllowed

      static final int jb_commitStatementNotAllowed
      See Also:
    • jb_rollbackStatementNotAllowed

      static final int jb_rollbackStatementNotAllowed
      See Also:
    • jb_setTransactionStatementNotAllowed

      static final int jb_setTransactionStatementNotAllowed
      See Also:
    • jb_setTransactionNotAllowedInAutoCommit

      static final int jb_setTransactionNotAllowedInAutoCommit
      See Also:
    • jb_setTransactionNotAllowedActiveTx

      static final int jb_setTransactionNotAllowedActiveTx
      See Also:
    • jb_statementNotAssociatedWithConnection

      @Deprecated(since="6") static final int jb_statementNotAssociatedWithConnection
      Deprecated.
      Jaybird no longer uses this error code
      See Also:
    • jb_addBatchWithTxStmt

      static final int jb_addBatchWithTxStmt
      See Also:
    • jb_prepareCallWithTxStmt

      static final int jb_prepareCallWithTxStmt
      See Also:
    • jb_invalidResultSetType

      static final int jb_invalidResultSetType
      See Also:
    • jb_invalidResultSetConcurrency

      static final int jb_invalidResultSetConcurrency
      See Also:
    • jb_invalidResultSetHoldability

      static final int jb_invalidResultSetHoldability
      See Also:
    • jb_invalidTransactionHandleType

      static final int jb_invalidTransactionHandleType
      See Also:
    • jb_invalidEventHandleType

      static final int jb_invalidEventHandleType
      See Also:
    • jb_eventHandleNotInitialized

      static final int jb_eventHandleNotInitialized
      See Also:
    • jb_attemptToDestroyManagedConnectionActiveTx

      static final int jb_attemptToDestroyManagedConnectionActiveTx
      See Also:
    • jb_cannotInstantiateConnection

      static final int jb_cannotInstantiateConnection
      See Also:
    • jb_databasePathRequired

      static final int jb_databasePathRequired
      See Also:
    • jb_invalidStringLength

      static final int jb_invalidStringLength
      See Also:
    • jb_alreadyAttached

      static final int jb_alreadyAttached
      See Also:
    • jb_prepareNotAllowedByState

      static final int jb_prepareNotAllowedByState
      See Also:
    • jb_noActiveTransaction

      static final int jb_noActiveTransaction
      See Also:
    • jb_pooledConnectionClosed

      static final int jb_pooledConnectionClosed
      See Also:
    • jb_noManagedConnection

      static final int jb_noManagedConnection
      See Also:
    • jb_connectionClosed

      static final int jb_connectionClosed
      See Also:
    • jb_logicalConnectionForciblyClosed

      static final int jb_logicalConnectionForciblyClosed
      See Also:
    • jb_unableToUnwrap

      static final int jb_unableToUnwrap
      See Also:
    • jb_resultSetClosed

      static final int jb_resultSetClosed
      See Also:
    • jb_invalidConnectionEncoding

      static final int jb_invalidConnectionEncoding
      See Also:
    • jb_noConnectionEncoding

      static final int jb_noConnectionEncoding
      See Also:
    • jb_clientInfoInvalidPropertyName

      static final int jb_clientInfoInvalidPropertyName
      See Also:
    • jb_clientInfoSystemContextReadOnly

      static final int jb_clientInfoSystemContextReadOnly
      See Also:
    • jb_noAuthenticationPlugin

      static final int jb_noAuthenticationPlugin
      See Also:
    • jb_asyncChannelAlreadyEstablished

      static final int jb_asyncChannelAlreadyEstablished
      See Also:
    • jb_asyncChannelNotConnected

      static final int jb_asyncChannelNotConnected
      See Also:
    • jb_socketFactoryClassNotFound

      static final int jb_socketFactoryClassNotFound
      See Also:
    • jb_socketFactoryConstructorNotFound

      static final int jb_socketFactoryConstructorNotFound
      See Also:
    • jb_socketFactoryFailedToCreateSocket

      static final int jb_socketFactoryFailedToCreateSocket
      See Also:
    • jb_range_end

      static final int jb_range_end
      See Also: