onexception

Model dissapears between filter attribute OnException and Master

Right before I return from my OnException in the mvc contrib's Rescue filter I can see the filterContext.Result.ViewData.Model is filled. Then I return, pass a bunch of non-steppable code and the next thing I can see I'm in my master where my ViewData.Model is null. any ideas? ...

ASP.NET MVC Controller.OnException not being called

I have a base controller class where I'm overriding to the Controller.OnException handler method in order to provide a generic error handling for certain types of controllers that will inherit from this class (these are API controllers that will return JSON results). The OnException method never gets called when an exception gets raised...

Does javax.jms.ExceptionListener delay the onException callback when network connection goes down?

I'm using Websphere Application Server (WAS) 6.1's default messaging provider for JMS. My remote client application creates a connection, then does a setExceptionListener to register the callback. When I simply stop the messaging engine using the WAS Integrated Solutions Console, my app behaves as expected, i.e., onException is called ...

Determine result type in OnException of controller

I'm working on an MVC.NET 2.0 project where I'm trying to put in some special error handling logic in the OnException method of the controller. Basically I want to be able to determine the result type of the controller method in which the unhandled exception was raised, so that I can return error data in a certain format dependent upon ...