You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Mohan Radhakrishnan <Mo...@hclcomnet.co.in> on 2003/03/20 04:34:34 UTC

Trap listener exceptions

Hi

    What is the best practice to trap exceptions thrown in listeners ? My
ServletContextListener might throw custom exceptions which the UI should
respond to properly by showing a message.

    How do you make custom exceptions bubble up from methods like

	public void contextInitialized( ServletContextEvent sce ){ // throws
DataException
	}

Mohan

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