Initializes a new instance of the Exception class with default properties.
[Visual Basic] Overloads Public Sub New() [C#] public Exception(); [C++] public: Exception(); [JScript] public function Exception();
Exception Type | Condition |
---|---|
Exception.InnerException | null |
Exception.Message | The empty string. |
All the derived classes should provide this default constructor.
Note that the stack trace is not started until the exception is thrown.
Exception Class | Exception Members | System Namespace | Exception Constructor Overload List