NBException represents the base class of the broker exception hierarchy from which all broker
exceptions are derived.
System Object
System Exception IBM.Broker.Plugin NBException IBM.Broker.Plugin NBBrokerException IBM.Broker.Plugin NBFatalException IBM.Broker.Plugin NBRecoverableException IBM.Broker.Plugin NBSecurityExceptionNamespace: IBM.Broker.PluginAssembly: IBM.Broker.Plugin (in IBM.Broker.Plugin.dll) Version: 9.0.0.0
[SerializableAttribute]
public class NBException : Exception,
ISerializable, IDisposable
[SerializableAttribute]
public class NBException : Exception,
ISerializable, IDisposable
<SerializableAttribute>
Public Class NBException
Inherits Exception
Implements ISerializable, IDisposable
<SerializableAttribute>
Public Class NBException
Inherits Exception
Implements ISerializable, IDisposable
[SerializableAttribute]
public ref class NBException : public Exception,
ISerializable, IDisposable
[SerializableAttribute]
public ref class NBException : public Exception,
ISerializable, IDisposable
[<SerializableAttribute>]
type NBException =
class
inherit Exception
interface ISerializable
interface IDisposable
end
[<SerializableAttribute>]
type NBException =
class
inherit Exception
interface ISerializable
interface IDisposable
end
Like
System::Exception's,
NBException's should not normally be caught directly. Instead, the
NBRecoverableException subclass should be caught. However if
NBException's are
caught by user code they must be rethrown to the broker for additional error recovery
to be performed.
An NBException object represents a single item within an exception list.
An exception list is a hierarchy of exceptions which grow as error conditions get passed back up through the message flow.
Despite the name, an exception list is, in fact, a tree structure with each NBException able to have more than one child.