Class ErrorEntity
java.lang.Object
com.atlassian.crowd.integration.rest.entity.ErrorEntity
Represents an error. All errors returned from REST resources should have the error entity in the response.
- Since:
- v2.1
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionErrorEntity
(ErrorEntity.ErrorReason reason, String message) Constructs an error entity. -
Method Summary
-
Constructor Details
-
ErrorEntity
Constructs an error entity.- Parameters:
reason
- reason for the error.message
- message
-
-
Method Details
-
getReason
-
getMessage
-