Class ErrorPage

java.lang.Object
io.undertow.servlet.api.ErrorPage

public class ErrorPage extends Object
A servlet error page mapping
Author:
Stuart Douglas
  • Constructor Details

    • ErrorPage

      public ErrorPage(String location, Class<? extends Throwable> exceptionType)
    • ErrorPage

      public ErrorPage(String location, int errorCode)
    • ErrorPage

      public ErrorPage(String location)
  • Method Details

    • getLocation

      public String getLocation()
    • getErrorCode

      public Integer getErrorCode()
    • getExceptionType

      public Class<? extends Throwable> getExceptionType()