public final class ApplicationException extends RuntimeException implements Serializable
Created by zhanghaolun on 16/7/1.
Constructor and Description |
---|
ApplicationException(org.springframework.http.HttpStatus status,
String template,
Map<String,Serializable> contextVariables) |
Modifier and Type | Method and Description |
---|---|
Map<String,Serializable> |
getContextVariables() |
org.springframework.http.HttpStatus |
getStatus() |
String |
getTemplate() |
static Boolean |
isApplicationError(Throwable throwable) |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public ApplicationException(org.springframework.http.HttpStatus status, String template, Map<String,Serializable> contextVariables)
public Map<String,Serializable> getContextVariables()
public org.springframework.http.HttpStatus getStatus()
public String getTemplate()
Copyright © 2017. All rights reserved.