com.pryv.exceptions.ApiException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commons Show documentation
Show all versions of commons Show documentation
Common library shared among Java and Android.
The newest version!
package com.pryv.exceptions;
import java.util.ArrayList;
/**
* Model an Exception originated from Pryv API
*/
public class ApiException extends PryvException {
private String id;
private String message;
private String data;
private ArrayList subErrors;
public ApiException (String id, String msg, String data, ArrayList sub) {
this.id = id;
this.message = msg;
this.data = data;
this.subErrors = sub;
}
@Override
public String getId() {
return id;
}
@Override
public String getMsg() {
return message;
}
public String getData() {
return data;
}
public ArrayList getSubErrors() {
return subErrors;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy