public abstract class RestException extends RuntimeException
| Modifier and Type | Field and Description |
|---|---|
protected String |
devMessage |
protected org.springframework.http.HttpStatus |
status |
| Constructor and Description |
|---|
RestException(String message) |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getCode() |
abstract org.springframework.http.HttpStatus |
getStatus() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected org.springframework.http.HttpStatus status
protected String devMessage
public RestException(String message)
public abstract String getCode()
public abstract org.springframework.http.HttpStatus getStatus()
Copyright © 2019. All rights reserved.