Handling exceptions in dispatchRequest
Handling exceptions in dispatchRequest
- Subject: Handling exceptions in dispatchRequest
- From: Kaj Hejer <email@hidden>
- Date: Wed, 9 Feb 2005 19:54:32 +0100
Hi!
In our WO5.2 applications we get
<html><head><title>Error</title></head><body>Your request produced an
error.</body></html>
when trying to access the application f.x. if the database is down and
there is thrown an exception in dispatchRequest.
From what I have understood a fix for this is to override
dispatchRequest and add a try/catch block.
Other ideas? :)
In the catchblock we want to call our own
Application.handleException(exception, context) but in dispatchRequest
we don't have access to the context. Should we just create a new
WOContext? How? :)
TIA!
-Kaj :)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden