This repository has been archived on 2019-01-15. You can view files and clone it, but cannot push or open issues or pull requests.
cordova-plugin-argo-api/src/android/xyz/maggioni/ProvaArgo/ArgoException.java

21 lines
433 B
Java

package xyz.maggioni.ProvaArgo;
import org.json.JSONObject;
public class ArgoException extends Exception {
private JSONObject response;
ArgoException(JSONObject response) {
this.response = response;
}
public JSONObject getResponse() {
return response;
}
@Override
public String getMessage() {
return "Marks fetch failed with the following data: "+response.toString();
}
}