public class ErrorPageSupport extends Object
| Constructor and Description |
|---|
ErrorPageSupport() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(ErrorPage errorPage) |
ErrorPage |
find(int statusCode) |
ErrorPage |
find(String exceptionType)
Deprecated.
Unused. Will be removed in Tomcat 10.
Use
find(Throwable) instead. |
ErrorPage |
find(Throwable exceptionType) |
ErrorPage[] |
findAll() |
void |
remove(ErrorPage errorPage) |
public void add(ErrorPage errorPage)
public void remove(ErrorPage errorPage)
public ErrorPage find(int statusCode)
@Deprecated public ErrorPage find(String exceptionType)
find(Throwable) instead.exceptionType - The fully qualified class name of the exception typenull if
none is configuredpublic ErrorPage[] findAll()
Copyright © 2000-2022 Apache Software Foundation. All Rights Reserved.