org.jboss.seam.examples.booking.exceptioncontrol
Class ConversationExceptionHandler
java.lang.Object
org.jboss.seam.examples.booking.exceptioncontrol.ConversationExceptionHandler
@HandlesExceptions
public class ConversationExceptionHandler
- extends Object
handler those exceptions generated by conversations management
- Author:
- Jose Freitas
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConversationExceptionHandler
public ConversationExceptionHandler()
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.