NBException.FormattedMessage Method
NBException FormattedMessage Method IBM Integration Bus
Formats the exception as a string using the catalog provided in the exception itself.

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

public virtual string FormattedMessage(
	bool ignoreInserts
)

Parameters

ignoreInserts
Type: OnlineSystem Boolean
If true then inserts from the exception are not added into the formatted message.

Return Value

Type: OnlineString
String containing the formatted message, but null is returned if the message cannot be found in the catalog or the catalog cannot be found.
Exceptions

Remarks

Inserts present in the exception can be added if desired. Inserts that are null are represented by empty strings. Note that any tabs or newlines present in the formatted message are removed before the string is returned.
See Also