org.jboss.seam.exception
Class AnnotationErrorHandler

java.lang.Object
  extended by org.jboss.seam.faces.Navigator
      extended by org.jboss.seam.exception.ExceptionHandler
          extended by org.jboss.seam.exception.ErrorHandler
              extended by org.jboss.seam.exception.AnnotationErrorHandler

public class AnnotationErrorHandler
extends ErrorHandler

Implements @HttpError

Author:
Gavin King
See Also:
HttpError

Constructor Summary
AnnotationErrorHandler()
           
 
Method Summary
protected  int getCode(Exception e)
           
protected  String getMessage(Exception e)
           
protected  boolean isEnd(Exception e)
           
 boolean isHandler(Exception e)
           
 
Methods inherited from class org.jboss.seam.exception.ErrorHandler
handle, toString
 
Methods inherited from class org.jboss.seam.faces.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

AnnotationErrorHandler

public AnnotationErrorHandler()
Method Detail

isHandler

public boolean isHandler(Exception e)
Specified by:
isHandler in class ExceptionHandler

getMessage

protected String getMessage(Exception e)
Specified by:
getMessage in class ErrorHandler

getCode

protected int getCode(Exception e)
Specified by:
getCode in class ErrorHandler

isEnd

protected boolean isEnd(Exception e)
Specified by:
isEnd in class ErrorHandler