







![]() ![]() |
C# Webserver |
RequestController..::.OnUnhandledException Method |
RequestController Class See Also Send Feedback |
Override this method if you want to be able to
handle unhanded exceptions
Namespace:
HttpServer.Controllers
Assembly:
HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
protected virtual void OnUnhandledException( Exception err ) |
Visual Basic (Declaration) |
---|
Protected Overridable Sub OnUnhandledException ( _ err As Exception _ ) |
Visual C++ |
---|
protected: virtual void OnUnhandledException( Exception^ err ) |
Parameters
- err
- Type: System..::.Exception
thrown exception
Remarks
Don't "eat" exceptions derived from HttpException since
they are handled by the framework,unless your are sure of what you are
doing..