org.jboss.seam.exception
Class ErrorHandler

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

public abstract class ErrorHandler
extends ExceptionHandler

Base implementation of HTTP error exception handlers.

Author:
Gavin King

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.seam.exception.ExceptionHandler
ExceptionHandler.LogLevel
 
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.exception.ExceptionHandler
getLogLevel, isHandler, isLogEnabled, setLogEnabled, setLogLevel
 
Methods inherited from class org.jboss.seam.faces.Navigator
addFacesMessage, error, getDisplayMessage, redirect, redirect, redirectExternal, 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