org.apache.myfaces.tomahawk.util
Class ErrorPageWriter
java.lang.Object
org.apache.myfaces.tomahawk.util.ErrorPageWriter
public class ErrorPageWriter
- extends java.lang.Object
This class is the same as javax.faces.webapp._ErrorPageWriter,
but is cloned here to allow ErrorRedirectJSFPageHandler to provide
an alternative when no navigation rule for a specific exception is
found.
- Author:
- Jacob Hookom (ICLA with ASF filed)
Method Summary |
static void |
debugHtml(java.io.Writer writer,
javax.faces.context.FacesContext faces)
|
static void |
debugHtml(java.io.Writer writer,
javax.faces.context.FacesContext faces,
java.util.List exceptionList)
|
static void |
debugHtml(java.io.Writer writer,
javax.faces.context.FacesContext faces,
java.lang.Throwable e)
|
static void |
handleException(javax.faces.context.FacesContext facesContext,
java.lang.Exception ex)
|
static void |
handleExceptionList(javax.faces.context.FacesContext facesContext,
java.util.List exceptionList)
|
static void |
handleThrowable(javax.faces.context.FacesContext facesContext,
java.lang.Throwable ex)
|
static void |
writeCause(java.io.Writer writer,
java.lang.Throwable ex)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErrorPageWriter
public ErrorPageWriter()
writeCause
public static void writeCause(java.io.Writer writer,
java.lang.Throwable ex)
throws java.io.IOException
- Throws:
java.io.IOException
debugHtml
public static void debugHtml(java.io.Writer writer,
javax.faces.context.FacesContext faces,
java.lang.Throwable e)
throws java.io.IOException
- Throws:
java.io.IOException
debugHtml
public static void debugHtml(java.io.Writer writer,
javax.faces.context.FacesContext faces,
java.util.List exceptionList)
throws java.io.IOException
- Throws:
java.io.IOException
debugHtml
public static void debugHtml(java.io.Writer writer,
javax.faces.context.FacesContext faces)
throws java.io.IOException
- Throws:
java.io.IOException
handleException
public static void handleException(javax.faces.context.FacesContext facesContext,
java.lang.Exception ex)
throws javax.servlet.ServletException,
java.io.IOException
- Throws:
javax.servlet.ServletException
java.io.IOException
handleThrowable
public static void handleThrowable(javax.faces.context.FacesContext facesContext,
java.lang.Throwable ex)
throws javax.servlet.ServletException,
java.io.IOException
- Throws:
javax.servlet.ServletException
java.io.IOException
handleExceptionList
public static void handleExceptionList(javax.faces.context.FacesContext facesContext,
java.util.List exceptionList)
throws javax.servlet.ServletException,
java.io.IOException
- Throws:
javax.servlet.ServletException
java.io.IOException
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.