System.Web Namespace HttpException Class
Constructs an empty Exception object.
[ VB ]
Public Sub New ( )
[ C# ]
public HttpException ( );
[ C++ ]
public: HttpException ( );
[ JScript ]
public function HttpException ( );
When handling exceptions, it is sometimes useful to capture a series of related exceptions with the outer exceptions being thrown in response to an inner exceptions.
A reference to the inner exceptions that cause the outer exceptions is available from the InnerException property of the outer exception. This mechanism preserves the error information carried by earlier exceptions, including the original exceptions, while allowing you to create more meaningful outer exceptions. For more information, see InnerException.
HttpException Members HttpException Constructor Overload List