public class ErrorPageSupport
extends java.lang.Object
Constructor and Description |
---|
ErrorPageSupport() |
Modifier and Type | Method and Description |
---|---|
void |
add(ErrorPage errorPage) |
ErrorPage |
find(int statusCode) |
ErrorPage |
find(java.lang.String exceptionType)
Find the ErrorPage, if any, for the named exception type.
|
ErrorPage |
find(java.lang.Throwable exceptionType) |
ErrorPage[] |
findAll() |
void |
remove(ErrorPage errorPage) |
public void add(ErrorPage errorPage)
public void remove(ErrorPage errorPage)
public ErrorPage find(int statusCode)
public ErrorPage find(java.lang.String exceptionType)
exceptionType
- The fully qualified class name of the exception typenull
if
none is configuredpublic ErrorPage find(java.lang.Throwable exceptionType)
public ErrorPage[] findAll()
Copyright © 2000-2022 Apache Software Foundation. All Rights Reserved.