Class ProfileRestServiceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.craftercms.profile.api.exceptions.ProfileException
-
- org.craftercms.profile.exceptions.ProfileRestServiceException
-
- All Implemented Interfaces:
Serializable
public class ProfileRestServiceException extends ProfileException
ProfileException
used by clients to indicate a REST service error.- Author:
- avasquez
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
detailMessage
protected ErrorCode
errorCode
protected org.springframework.http.HttpStatus
status
-
Constructor Summary
Constructors Constructor Description ProfileRestServiceException(org.springframework.http.HttpStatus status, String detailMessage)
ProfileRestServiceException(org.springframework.http.HttpStatus status, ErrorCode errorCode, String detailMessage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDetailMessage()
ErrorCode
getErrorCode()
org.springframework.http.HttpStatus
getStatus()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-