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
|
Method Summary |
protected abstract java.lang.String |
getMessage(java.lang.Exception e)
|
protected abstract javax.faces.application.FacesMessage.Severity |
getMessageSeverity(java.lang.Exception e)
|
protected abstract java.lang.String |
getViewId(java.lang.Exception e)
|
void |
handle(java.lang.Exception e)
|
protected abstract boolean |
isEnd(java.lang.Exception e)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RedirectHandler
public RedirectHandler()
getViewId
protected abstract java.lang.String getViewId(java.lang.Exception e)
getMessage
protected abstract java.lang.String getMessage(java.lang.Exception e)
isEnd
protected abstract boolean isEnd(java.lang.Exception e)
getMessageSeverity
protected abstract javax.faces.application.FacesMessage.Severity getMessageSeverity(java.lang.Exception e)
handle
public void handle(java.lang.Exception e)
throws java.lang.Exception
- Specified by:
handle in class ExceptionHandler
- Throws:
java.lang.Exception
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2011 Seam Framework. All Rights Reserved.