站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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
  extended by org.jboss.seam.core.Navigator
      extended by org.jboss.seam.exceptions.ExceptionHandler
Direct Known Subclasses:
DebugPageHandler, ErrorHandler, RedirectHandler, RenderHandler

public abstract class ExceptionHandler
extends Navigator


Constructor Summary
ExceptionHandler()
           
 
Method Summary
static void addFacesMessage(Exception e, String message)
           
protected  int getCode(Exception e)
           
static String getDisplayMessage(Exception e, String message)
           
protected  String getMessage(Exception e)
           
protected  String getViewId(Exception e)
           
abstract  Object handle(Exception e)
           
protected  boolean isEnd(Exception e)
           
abstract  boolean isHandler(Exception e)
           
protected  boolean isRollback(Exception e)
           
static Object rethrow(Exception e)
           
 
Methods inherited from class org.jboss.seam.core.Navigator
error, redirect, render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionHandler

public ExceptionHandler()
Method Detail

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