public class ProfileRestServiceException extends ProfileException
ProfileException used by clients to indicate a REST service error.| Modifier and Type | Field and Description |
|---|---|
protected String |
detailMessage |
protected ErrorCode |
errorCode |
protected org.springframework.http.HttpStatus |
status |
| Constructor and Description |
|---|
ProfileRestServiceException(org.springframework.http.HttpStatus status,
ErrorCode errorCode,
String detailMessage) |
ProfileRestServiceException(org.springframework.http.HttpStatus status,
String detailMessage) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDetailMessage() |
ErrorCode |
getErrorCode() |
org.springframework.http.HttpStatus |
getStatus() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprotected org.springframework.http.HttpStatus status
protected ErrorCode errorCode
protected String detailMessage
public ProfileRestServiceException(org.springframework.http.HttpStatus status,
String detailMessage)
Copyright © 2015 CrafterCMS. All Rights Reserved.