Package org.apache.catalina.util
Class ErrorPageSupport
- java.lang.Object
- 
- org.apache.catalina.util.ErrorPageSupport
 
- 
 public class ErrorPageSupport extends java.lang.ObjectProvides support for tracking per exception type and per HTTP status code error pages.
- 
- 
Constructor SummaryConstructors Constructor Description ErrorPageSupport()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(ErrorPage errorPage)ErrorPagefind(int statusCode)ErrorPagefind(java.lang.String exceptionType)Find the ErrorPage, if any, for the named exception type.ErrorPagefind(java.lang.Throwable exceptionType)ErrorPage[]findAll()voidremove(ErrorPage errorPage)
 
- 
- 
- 
Method Detail- 
addpublic void add(ErrorPage errorPage) 
 - 
removepublic void remove(ErrorPage errorPage) 
 - 
findpublic ErrorPage find(int statusCode) 
 - 
findpublic ErrorPage find(java.lang.String exceptionType) Find the ErrorPage, if any, for the named exception type.- Parameters:
- exceptionType- The fully qualified class name of the exception type
- Returns:
- The ErrorPage for the named exception type, or nullif none is configured
 
 - 
findpublic ErrorPage find(java.lang.Throwable exceptionType) 
 - 
findAllpublic ErrorPage[] findAll() 
 
- 
 
-