org.jboss.seam.examples.booking.exceptioncontrol
Class ConversationExceptionHandler

java.lang.Object
  extended by org.jboss.seam.examples.booking.exceptioncontrol.ConversationExceptionHandler

@HandlesExceptions
public class ConversationExceptionHandler
extends Object

handler those exceptions generated by conversations management

Author:
Jose Freitas

Constructor Summary
ConversationExceptionHandler()
           
 
Method Summary
 void conversationEndedExceptionHandler(org.jboss.seam.exception.control.CaughtException<NonexistentConversationException> event, org.jboss.logging.Logger log)
          Handles the exception thrown at the end of a conversation redirecting the flow to a pretty page instead of printing a stacktrace on the screen.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConversationExceptionHandler

public ConversationExceptionHandler()
Method Detail

conversationEndedExceptionHandler

public void conversationEndedExceptionHandler(@Handles
                                              org.jboss.seam.exception.control.CaughtException<NonexistentConversationException> event,
                                              org.jboss.logging.Logger log)
Handles the exception thrown at the end of a conversation redirecting the flow to a pretty page instead of printing a stacktrace on the screen.

Parameters:
event -
log -


Copyright © 2011 Seam Framework. All Rights Reserved.