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
ProfileExceptionused by clients to indicate a REST service error.- Author:
- avasquez
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringdetailMessageprotected ErrorCodeerrorCodeprotected org.springframework.http.HttpStatusstatus
-
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 StringgetDetailMessage()ErrorCodegetErrorCode()org.springframework.http.HttpStatusgetStatus()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-