[jboss-user] [JBoss Seam] - Re: handleException details

saasira do-not-reply at jboss.com
Mon Feb 4 04:18:06 EST 2008


Exception that I injected was null.
But I could get that exception as

Exception excp= (Exception)Contexts.getConversationContext().get("org.jboss.seam.handledException");
	  if (excp != null && excp instanceof Exception) {
		             	  System.out.println("error" + excp.getClass().getName());
		             	 excp.printStackTrace();

but printStacjTrace doesnt print  anything now. But esxception class name is proper.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4126046#4126046

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4126046



More information about the jboss-user mailing list