// Path: src/main/java/org/scrutmydocs/webapp/api/common/RestAPIException.java
// public class RestAPIException extends Exception {
// 	private static final long serialVersionUID = 1L;
// 
// 	public RestAPIException(String message) {
// 		super(message);
// 	}
// 
// 	public RestAPIException(Exception e) {
// 		super(e.getMessage());
// 	}
// 
// }


import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import org.scrutmydocs.webapp.api.common.RestAPIException;

	}

	public boolean isOk() {
		return ok;
	}

	public void setOk(boolean ok) {
		this.ok = ok;
	}

	public String[] getErrors() {
		return errors;
	}

	public void setErrors(String[] errors) {
		this.errors = errors;
	}

	public Object getObject() {
		return object;
	}
	
	public void setObject(T object) {
		this.object = object;
	}
	
	/**
	 * Add an error to the error list
	 * @param e
	 */

// Path: src/main/java/org/scrutmydocs/webapp/api/common/RestAPIException.java
// public class RestAPIException extends Exception {
// 	private static final long serialVersionUID = 1L;
// 
// 	public RestAPIException(String message) {
// 		super(message);
// 	}
// 
// 	public RestAPIException(Exception e) {
// 		super(e.getMessage());
// 	}
// 
// }


// Path: src/main/java/org/scrutmydocs/webapp/api/common/data/RestResponse.java
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import org.scrutmydocs.webapp.api.common.RestAPIException;

	}

	public boolean isOk() {
		return ok;
	}

	public void setOk(boolean ok) {
		this.ok = ok;
	}

	public String[] getErrors() {
		return errors;
	}

	public void setErrors(String[] errors) {
		this.errors = errors;
	}

	public Object getObject() {
		return object;
	}
	
	public void setObject(T object) {
		this.object = object;
	}
	
	/**
	 * Add an error to the error list
	 * @param e
	 */

	public void addError(RestAPIException e) {
