WebSphere Message Broker™ V8.0.0.0 .NET Plugin Node API
NBException Class
NamespacesIBM.Broker.PluginNBException
SUMMARY
NBException represents the base class of the broker exception hierarchy from which all broker exceptions are derived.
Declaration Syntax
C#Visual BasicVisual C++F#
<SerializableAttribute> _
Public Class NBException _
	Inherits Exception _
	Implements ISerializable, IDisposable
[SerializableAttribute]
public ref class NBException : public Exception, 
	ISerializable, IDisposable
[<SerializableAttribute>]
type NBException =  
    class
        inherit Exception
        interface ISerializable
        interface IDisposable
    end
Members
All MembersMethodsProperties



IconMemberDescription
AddNestedException(NBException)
Adds a nested exception to the current exception.

Catalog
Gets or sets The catalog that contains the exception message number.

Data
Gets a collection of key/value pairs that provide additional user-defined information about the exception.
(Overrides Exception.Data.)
Dispose()()()()
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
File
Gets or sets the file that generated the exception.

FormattedMessage(Boolean)
Formats the exception as a string using the catalog provided in the exception itself.

GetBaseException()()()()
When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.
(Inherited from Exception.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetNestedExceptions()()()()
Gets all the nested exceptions that belong to the current exception.

GetObjectData(SerializationInfo, StreamingContext)
Initializes a new instance of the Exception class with serialized data.
(Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)
GetType()()()()
Gets the runtime type of the current instance.
(Inherited from Exception.)
HelpLink
Gets or sets a link to the help file associated with this exception.
(Inherited from Exception.)
InnerException
Gets the Exception instance that caused the current exception.
(Inherited from Exception.)
Label
Gets or sets the label of the component or class that originated the exception.

Line
Gets or sets the line in the file where the exception was generated.

Message
Gets a message that describes the current exception.
(Inherited from Exception.)
MessageAsFirstInsert
Gets or sets a flag to request that the exception, when logged, contains the Message as the first insert.

Method
Gets or sets the name of the method which throws the exception.

Name
Gets or sets the name of the component or class that originated the exception.

Number
Gets or sets the Error number.

Severity
Gets or sets the severity of the exception.

Source
Gets or sets the message source of the message in the exception.
(Overrides Exception.Source.)
StackTrace
Gets a string representation of the immediate frames on the call stack.
(Overrides Exception.StackTrace.)
StackTraceAsLastInsert
Gets or sets a flag to request that the exception, when logged, contains the StackTrace as its last insert.

TargetSite
Gets the method that throws the current exception.
(Inherited from Exception.)
ToString()()()()
Creates and returns a string representation of the current exception.
(Inherited from Exception.)
Remarks
Like System::Exception's, NBException's should not normally be caught directly. Inatead, 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.

Inheritance Hierarchy

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