C# – Understanding Global Exception Handling

Unhandled exception bubble up until they are exposed to the end user (aka "yellow screen of death") Best place to handle exception is the nearest locale to the exception itself. However, You CAN handlig globally. In global.asax   Understanding Custom Exceptions Inherit from Exception like so:

Advertisements