com.erigir.wrench.ape.exception.HttpsRequiredException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wrench-ape Show documentation
Show all versions of wrench-ape Show documentation
A library to simplify API construction atop Spring MVC
package com.erigir.wrench.ape.exception;
import com.erigir.wrench.ape.http.ApeException;
/**
* Created by chrweiss on 6/28/14.
*/
@ApeException(
httpStatusCode = 403,
detailCode = 100,
message = "You must access this API over a secure network",
developerMessage = "You attempted to access the API over HTTP. Retry with a secure channel (HTTPS)"
)
public class HttpsRequiredException extends RuntimeException {
}