The AddNestedException method should not be called for NBClrException's

C# | Visual Basic | Visual C++ | F# |
public override sealed void AddNestedException( NBException childException )
Public Overrides NotOverridable Sub AddNestedException ( _ childException As NBException _ )
public: virtual void AddNestedException( NBException^ childException ) override sealed
abstract AddNestedException : childException:NBException -> unit override AddNestedException : childException:NBException -> unit

- childException (NBException)
- The child of this exception in the hierarchy.

NBClrException's cannot have nested exceptions and so this method throws an exception if called.

Exception | Condition |
---|---|
NotSupportedException | Thrown if this method is called. |