当前页面:
在线文档首页 >
JBoss Seam 1.1.1 API 英文版文档
ExceptionHandler (JBoss Seam API Documentation) - JBoss Seam 1.1.1 API 英文版文档
org.jboss.seam.exceptions
Class ExceptionHandler
java.lang.Object
org.jboss.seam.core.Navigator
org.jboss.seam.exceptions.ExceptionHandler
- Direct Known Subclasses:
- DebugPageHandler, ErrorHandler, RedirectHandler, RenderHandler
public abstract class ExceptionHandler
- extends Navigator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExceptionHandler
public ExceptionHandler()
handle
public abstract Object handle(Exception e)
throws Exception
- Throws:
Exception
isHandler
public abstract boolean isHandler(Exception e)
getMessage
protected String getMessage(Exception e)
getViewId
protected String getViewId(Exception e)
isEnd
protected boolean isEnd(Exception e)
isRollback
protected boolean isRollback(Exception e)
getCode
protected int getCode(Exception e)
getDisplayMessage
public static String getDisplayMessage(Exception e,
String message)
addFacesMessage
public static void addFacesMessage(Exception e,
String message)
rethrow
public static Object rethrow(Exception e)
throws Exception
- Throws:
Exception