All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.googlecode.placesapiclient.client.exception.ErrorCode Maven / Gradle / Ivy

The newest version!
package com.googlecode.placesapiclient.client.exception;

/**
 */
public class ErrorCode {

    //Error codes from Google Places API
    public static final int OK = 0;
    public static final int ZERO_RESULTS = 1;
    public static final int OVER_QUERY_LIMIT = 2;
    public static final int REQUEST_DENIED = 3;
    public static final int INVALID_REQUEST = 4;

    //Invalid parameters
    public static final int INVALID_PARAMETER = 100;
    public static final int INVALID_JSON_OBJECT = 101;
    public static final int MISSING_STATUS = 102;
    public static final int MISSING_URL = 103;
    public static final int MISSING_ARGUMENT_MAP = 104;

    //Conversion exception
    public static final int CONVERSION_ERROR = 200;

    //System exception
    public static final int UNKNOWN_EXCEPTION = 900;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy