org.jboss.seam.exception
Class RedirectHandler
java.lang.Object
org.jboss.seam.faces.Navigator
org.jboss.seam.exception.ExceptionHandler
org.jboss.seam.exception.RedirectHandler
- Direct Known Subclasses:
- AnnotationRedirectHandler, ConfigRedirectHandler
public abstract class RedirectHandler
- extends ExceptionHandler
Base implementation of redirection exception handlers.
- Author:
- Gavin King
RedirectHandler
public RedirectHandler()
getViewId
protected abstract String getViewId(Exception e)
getMessage
protected abstract String getMessage(Exception e)
isEnd
protected abstract boolean isEnd(Exception e)
getMessageSeverity
protected abstract javax.faces.application.FacesMessage.Severity getMessageSeverity(Exception e)
handle
public void handle(Exception e)
throws Exception
- Specified by:
handle
in class ExceptionHandler
- Throws:
Exception
toString
public String toString()
- Overrides:
toString
in class Object