Yeh, that kinda sux.
Your best bet is to use a RuntimeException subclass which doesn't have to be
declared.
The NestableRuntimeException class (in commons-lang) is very useful for this
sort of thing as its nestable so you can wrap the checked exception you need
to throw.

-----Original Message-----
From: Mike Whittaker [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 3 September 2003 18:56
To: Struts List
Subject: Exceptions in RequestProcessor.processPreprocess()



This method cannot throw an Exception or specifically not even a
ServletException. (Why?)

I want exceptions thrown here to propagate to my standard error handling &
jsp page.

How can I do that?

Do I use processException()? If so how does this work?

--
Mike W


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to