WebSphere Message Broker™ V8.0.0.0 .NET Plugin Node API
AddEsqlHandlerInserts Method (sqlCode)
NamespacesIBM.Broker.PluginNBDatabaseExceptionAddEsqlHandlerInserts(Int32)
SUMMARY
AddEsqlHandlerInserts add an SQL code that allows an ESQL HANDLER that catches this exception to query the SQL code.
Declaration Syntax
C#Visual BasicVisual C++F#
public void AddEsqlHandlerInserts(
	int sqlCode
)
Public Sub AddEsqlHandlerInserts ( _
	sqlCode As Integer _
)
public:
void AddEsqlHandlerInserts(
	int sqlCode
)
member AddEsqlHandlerInserts : 
        sqlCode:int -> unit 
Parameters
sqlCode (Int32)
The SQLCode integer value.
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 outer "root" exception.

Assembly: IBM.Broker.Plugin (Module: IBM.Broker.Plugin) Version: 8.0.0.0