asp.net.ph

Exception Constructor ( )

System Namespace   Exception Class


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 ( );

Remarks

This constructor initializes the Message property of the new instance to a system-supplied message that describes the error and takes into account the current system culture.

All the derived classes should provide this default constructor. Note that the stack trace is not started until the exception is thrown.

The following table shows the initial property values for an instance of Exception.

Property Value
InnerException Occurs when A null reference ( in Visual Basic Nothing ).
Message A system-supplied localized description.

See Also

Exception Members   Exception Constructor Overload List Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph