public class ErrorPage extends Object
| Constructor and Description | 
|---|
ErrorPage(HttpStatus status,
         String path)  | 
ErrorPage(String path)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object obj)  | 
Class<? extends Throwable> | 
getException()
Returns the exception type (or  
null for a page that matches by status) | 
String | 
getExceptionName()
The exception type name. 
 | 
String | 
getPath()
The path to render (usually implemented as a forward), starting with "/". 
 | 
HttpStatus | 
getStatus()
The HTTP status value that this error page matches (or  
null for a page that
 matches by exception). | 
int | 
getStatusCode()
The HTTP status value that this error page matches. 
 | 
int | 
hashCode()  | 
boolean | 
isGlobal()  | 
public ErrorPage(String path)
public ErrorPage(HttpStatus status,
         String path)
public String getPath()
public Class<? extends Throwable> getException()
null for a page that matches by status)nullpublic HttpStatus getStatus()
null for a page that
 matches by exception).nullpublic int getStatusCode()
public String getExceptionName()
null if there is none)public boolean isGlobal()
Copyright © 2014. All rights reserved.