Display a more detailed error when attempting to resume another device's session

This commit is contained in:
Cameron Gutman
2014-01-11 10:43:29 -05:00
parent 042f67506c
commit 421d73b28a
2 changed files with 26 additions and 3 deletions

View File

@@ -13,6 +13,14 @@ public class GfeHttpResponseException extends IOException {
this.errorMsg = errorMsg;
}
public int getErrorCode() {
return errorCode;
}
public String getErrorMessage() {
return errorMsg;
}
@Override
public String getMessage() {
return "GFE error: "+errorMsg+" (Error code: "+errorCode+")";