Top Description Fields Constructors Methods
io.undertow.servlet.api

public Class ErrorPage

extends Object
Class Inheritance

A servlet error page mapping
Author
Stuart Douglas

Field Summary

Modifier and TypeField and Description
private final Integer
private final Class<? extends Throwable>
private final String

Constructor Summary

AccessConstructor and Description
public
ErrorPage(final String location, final Class<? extends Throwable> exceptionType)

public
ErrorPage(final String location, final int errorCode)

public
ErrorPage(final String location)

Method Summary

Modifier and TypeMethod and Description
public Integer
public Class<? extends Throwable>
public String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

errorCodeback to summary
private final Integer errorCode
exceptionTypeback to summary
private final Class<? extends Throwable> exceptionType
locationback to summary
private final String location

Constructor Detail

ErrorPageback to summary
public ErrorPage(final String location, final Class<? extends Throwable> exceptionType)
ErrorPageback to summary
public ErrorPage(final String location, final int errorCode)
ErrorPageback to summary
public ErrorPage(final String location)

Method Detail

getErrorCodeback to summary
public Integer getErrorCode()
getExceptionTypeback to summary
public Class<? extends Throwable> getExceptionType()
getLocationback to summary
public String getLocation()