com.atlassian.crowd.plugin.rest.entity
Class ApplicationErrorEntity
java.lang.Object
com.atlassian.crowd.plugin.rest.entity.ApplicationErrorEntity
public class ApplicationErrorEntity
- extends Object
Represents an error. All errors returned from REST resources should have the error entity in the response.
- Since:
- 2.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationErrorEntity
public ApplicationErrorEntity(ApplicationErrorEntity.ErrorReason reason,
String message)
- Constructs an error entity.
- Parameters:
reason
- reason for the error.message
- message
getReason
public ApplicationErrorEntity.ErrorReason getReason()
getMessage
public String getMessage()
Copyright © 2012 Atlassian. All Rights Reserved.