|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.myfaces.renderkit.ErrorPageWriter
public final class ErrorPageWriter
This class provides utility methods to generate the MyFaces error and debug pages.
| Nested Class Summary | |
|---|---|
static class |
ErrorPageWriter.ErrorPageBean
This bean aims to generate the error page html for inclusion on a facelet error page via |
| Field Summary | |
|---|---|
static java.lang.String |
DEBUG_INFO_KEY
Extended debug info is stored under this key in the request map for every UIInput component when in Development mode. |
static java.lang.String |
ERROR_HANDLING_PARAMETER
Indicate if myfaces is responsible to handle errors. |
static java.lang.String |
ERROR_PAGE_BEAN_KEY
The key which is used to store the ErrorPageBean in the view map of a facelet error page. |
| Constructor Summary | |
|---|---|
ErrorPageWriter()
|
|
| Method Summary | |
|---|---|
static void |
debugHtml(java.io.Writer writer,
javax.faces.context.FacesContext faces)
Generates the HTML debug page for the current view and writes it to the given writer. |
static void |
debugHtml(java.io.Writer writer,
javax.faces.context.FacesContext faces,
java.lang.Throwable e)
Generates the HTML error page for the given Throwable and writes it to the given writer. |
static void |
handleThrowable(javax.faces.context.FacesContext facesContext,
java.lang.Throwable ex)
Handles the given Throwbale in the following way: If there is no |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ERROR_PAGE_BEAN_KEY
public static final java.lang.String DEBUG_INFO_KEY
@JSFWebConfigParam(defaultValue="true",
expectedValues="true,false",
since="1.2.4")
public static final java.lang.String ERROR_HANDLING_PARAMETER
| Constructor Detail |
|---|
public ErrorPageWriter()
| Method Detail |
|---|
public static void debugHtml(java.io.Writer writer,
javax.faces.context.FacesContext faces,
java.lang.Throwable e)
throws java.io.IOException
writer - faces - e -
java.io.IOException
public static void debugHtml(java.io.Writer writer,
javax.faces.context.FacesContext faces)
throws java.io.IOException
writer - faces -
java.io.IOException
public static void handleThrowable(javax.faces.context.FacesContext facesContext,
java.lang.Throwable ex)
throws javax.faces.FacesException
facesContext - ex -
javax.faces.FacesException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||