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
ProfileException
used by clients to indicate a REST service error.- Author:
- avasquez
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionProfileRestServiceException
(org.springframework.http.HttpStatusCode status, String detailMessage) ProfileRestServiceException
(org.springframework.http.HttpStatusCode status, ErrorCode errorCode, String detailMessage) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.HttpStatusCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
status
protected org.springframework.http.HttpStatusCode status -
errorCode
-
detailMessage
-
-
Constructor Details
-
ProfileRestServiceException
public ProfileRestServiceException(org.springframework.http.HttpStatusCode status, String detailMessage) -
ProfileRestServiceException
-
-
Method Details
-
getStatus
public org.springframework.http.HttpStatusCode getStatus() -
getErrorCode
-
getDetailMessage
-