Package com.geekabyte.jprowork.exceptions

Examples of com.geekabyte.jprowork.exceptions.InvalidParameterException


     * @see Activity
     */
    public List<Activity> getProjectActivities(int projectId, int read) throws JproworkRuntimeException {

        if (read != 1 && read != 0) {
            throw new InvalidParameterException("read parameter should be 1 or 0");
        }
        String responseJson;
        String params = "token=" + token;
        params += "&";
        params += "project_id=" + projectId;
View Full Code Here


     * @see Activity
     */
    public List<Activity> getAllProjectActivities(int read) throws JproworkRuntimeException {

        if (read != 1 && read != 0) {
            throw new InvalidParameterException("read parameter should be 1 or 0");
        }

        String responseJson;
        String params = "token=" + token;
        params += "&";
View Full Code Here

     * @see Activity
     */
    public List<Activity> getProjectActivity(int read) throws JproworkRuntimeException {

        if (read != 1 && read != 0) {
            throw new InvalidParameterException("read parameter should be 1 or 0");
        }

        String token = RemoteAPIHandler.getToken();
        if (token == null) {
            throw new InvalidTokenException("Invalid token or none given");
View Full Code Here

TOP

Related Classes of com.geekabyte.jprowork.exceptions.InvalidParameterException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.