Package com.socrata.exceptions

Source Code of com.socrata.exceptions.InvalidLocationError

package com.socrata.exceptions;

import com.socrata.model.SodaErrorResponse;

/**
* Thrown if an invalid location is returned from the server with a 202.
*/
public class InvalidLocationError extends SodaError
{
    public static final String ERROR_CODE = "client.format.invalidLocation";

    public InvalidLocationError(final String locationSent)
    {
        super(new SodaErrorResponse(ERROR_CODE, "Invalid location from server.", locationSent, null));
    }
}
TOP

Related Classes of com.socrata.exceptions.InvalidLocationError

TOP
Copyright © 2018 www.massapi.com. 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.