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

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

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

/**
 * Created by chrweiss on 7/6/14.
 */
public class ApeErrorData {
  private int httpStatusCode;
  private int detailCode;
  private String message;
  private String developerMessage;
  private String moreInfoUrl;
  private Object details;

  public ApeErrorData() {
  }

  public ApeErrorData(int httpStatusCode, int detailCode, String message, String developerMessage, String moreInfoUrl, Object details) {
    this.httpStatusCode = httpStatusCode;
    this.detailCode = detailCode;
    this.message = message;
    this.developerMessage = developerMessage;
    this.moreInfoUrl = moreInfoUrl;
    this.details = details;
  }

  public int getHttpStatusCode() {
    return httpStatusCode;
  }

  public void setHttpStatusCode(int httpStatusCode) {
    this.httpStatusCode = httpStatusCode;
  }

  public int getDetailCode() {
    return detailCode;
  }

  public void setDetailCode(int detailCode) {
    this.detailCode = detailCode;
  }

  public String getMessage() {
    return message;
  }

  public void setMessage(String message) {
    this.message = message;
  }

  public String getDeveloperMessage() {
    return developerMessage;
  }

  public void setDeveloperMessage(String developerMessage) {
    this.developerMessage = developerMessage;
  }

  public String getMoreInfoUrl() {
    return moreInfoUrl;
  }

  public void setMoreInfoUrl(String moreInfoUrl) {
    this.moreInfoUrl = moreInfoUrl;
  }

  public Object getDetails() {
    return details;
  }

  public void setDetails(Object details) {
    this.details = details;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy