struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Graham <grahamdavid1...@yahoo.com>
Subject Re: [Error Handlers] instanceof ?
Date Tue, 15 Jul 2003 17:37:18 GMT
--- "Hookom, Jacob" <Jacob.Hookom@redline.mckhboc.com> wrote:
> Off hand, would Struts be able to catch the exception with this desired
> handler?
> 
> Action throws ServiceNotFoundException
> ExceptionHandler catches ServiceException
> 
> Where ServiceNotFoundException is an instance of ServiceException?

Not currently.  I was thinking about improving the ExceptionHandler to
support that just today :-).  It would be nice if the ExceptionHandler
acted like a global try/catch block with the same inheritance rules.

David

> 
> Thanks,
> Jacob
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message