NBDatabaseException AddEsqlHandlerInsertsInner Method IBM Integration Bus
AddEsqlHandlerInserts adds information to the exception that allows an ESQL HANDLER to catch this exception by the specified SQLCode. Constructs ESQL Handler Inserts with the SQL state, native Error and Error text.

Namespace: IBM.Broker.Plugin
Assembly: IBM.Broker.Plugin (in IBM.Broker.Plugin.dll) Version: 9.0.0.0
Syntax

public void AddEsqlHandlerInsertsInner(
	string sqlState,
	int sqlNativeError,
	string sqlErrorText
)
Remarks

NBDatabaseException exceptions that are thrown to be handled by ESQL must be constructed in a particular format. There must be an outer "root" exception that contains the sqlcode, and then an InnerException that contains the sql state, native error and error text. This method should be called on the InnerException.
See Also