public class ServiceErrorRestRep
extends java.lang.Object
Constructor and Description |
---|
ServiceErrorRestRep() |
Modifier and Type | Method and Description |
---|---|
int |
getCode()
The numerical code associated with the error encountered when processing a service request
|
java.lang.String |
getCodeDescription()
The description of the error
|
java.lang.String |
getDetailedMessage()
Detailed information concerning the error
|
boolean |
isRetryable()
Indicates whether the error is retryable which
means service is temporarily unavailable and
the client could retry after a while.
|
void |
setCode(int code) |
void |
setCodeDescription(java.lang.String codeDescription) |
void |
setDetailedMessage(java.lang.String detailedMessage) |
void |
setRetryable(boolean retryable) |
java.lang.String |
toString() |
public int getCode()
public void setCode(int code)
public java.lang.String getCodeDescription()
public void setCodeDescription(java.lang.String codeDescription)
public java.lang.String getDetailedMessage()
public void setDetailedMessage(java.lang.String detailedMessage)
public boolean isRetryable()
public void setRetryable(boolean retryable)
public java.lang.String toString()
toString
in class java.lang.Object