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

com.erigir.wrench.ape.exception.NoSuchVersionException Maven / Gradle / Ivy

There is a newer version: 2.2.16+16
Show newest version
package com.erigir.wrench.ape.exception;

import com.erigir.wrench.ape.http.ApeException;

import java.util.List;

/**
 * Created by chrweiss on 6/28/14.
 */
@ApeException(
        httpStatusCode = 404,
        detailCode = 107,
        message = "Your application is currently misconfigured",
        developerMessage = "You requested a version of the API that does not currently exist",
        detailObjectPropertyName = "validVersions"
)
public class NoSuchVersionException extends RuntimeException {
    private List validVersions;

    public NoSuchVersionException(List validVersions) {
        this.validVersions = validVersions;
    }

    public List getValidVersions() {
        return validVersions;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy