bug 14599: initialize errorString to not null value to ensure valid json response even in case when api server doesn't reset errorString while forming the response.

This commit is contained in:
Alena Prokharchyk 2012-03-30 10:16:04 -07:00
parent 9bd2ac43ac
commit 1e0d976dc5

View File

@ -33,7 +33,7 @@ public class ExceptionResponse extends BaseResponse {
private Integer csErrorCode;
@SerializedName("errortext") @Param(description="the text associated with this error")
private String errorText;
private String errorText = "Command failed due to Internal Server Error";
public Integer getErrorCode() {
return errorCode;