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

com.erigir.wrench.ape.exception.InsufficientCredentialsException 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;

/**
 * Created by chrweiss on 6/28/14.
 */
@ApeException(
    httpStatusCode = 403,
    detailCode = 101,
    message = "The credentials provided are insufficient for this request",
    developerMessage = "You did not provide enough credentials for your request",
    detailObjectPropertyName = "required"
)
public class InsufficientCredentialsException extends RuntimeException {
  private String required;

  public InsufficientCredentialsException(String required) {
    this.required = required;
  }

  public String getRequired() {
    return required;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy