站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.2.0 patch1 API 英文版文档

ErrorHandler (JBoss Seam API Documentation) - JBoss Seam 1.2.0 patch1 API 英文版文档


org.jboss.seam.exceptions
Class ErrorHandler

java.lang.Object
  extended by org.jboss.seam.core.Navigator
      extended by org.jboss.seam.exceptions.ExceptionHandler
          extended by org.jboss.seam.exceptions.ErrorHandler
Direct Known Subclasses:
AnnotationErrorHandler, ConfigErrorHandler

public abstract class ErrorHandler
extends ExceptionHandler


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

Constructor Detail

ErrorHandler

public ErrorHandler()
Method Detail

getCode

protected abstract int getCode(Exception e)

getMessage

protected abstract String getMessage(Exception e)

isEnd

protected abstract boolean isEnd(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