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

org.tiogasolutions.dev.common.exceptions.ApiBadRequestException Maven / Gradle / Ivy

There is a newer version: 5.2.6
Show newest version
package org.tiogasolutions.dev.common.exceptions;

import org.tiogasolutions.dev.common.fine.FineMessage;
import org.tiogasolutions.dev.common.fine.FineMessageSet;
import org.tiogasolutions.dev.common.net.HttpStatusCode;

import static org.tiogasolutions.dev.common.net.HttpStatusCode.BAD_REQUEST;

public class ApiBadRequestException extends Api4xxException {

  private static final long serialVersionUID = 1L;

  /*default*/ ApiBadRequestException() {
    super(BAD_REQUEST);
  }

  /*default*/ ApiBadRequestException(String message, String... traits) {
    super(BAD_REQUEST, message, traits);
  }

  /*default*/ ApiBadRequestException(Throwable ex, String... traits) {
    super(BAD_REQUEST, ex, traits);
  }

  /*default*/ ApiBadRequestException(String message, Throwable ex, String... traits) {
    super(BAD_REQUEST, message, ex, traits);
  }

  /*default*/ ApiBadRequestException(FineMessage richMessage) {
    super(BAD_REQUEST, richMessage);
  }

  /*default*/ ApiBadRequestException(FineMessage richMessage, Throwable ex) {
    super(BAD_REQUEST, richMessage, ex);
  }

  /*default*/ ApiBadRequestException(FineMessageSet messageSet) {
    super(BAD_REQUEST, messageSet);
  }

  /*default*/ ApiBadRequestException(FineMessageSet messageSet, Throwable ex) {
    super(BAD_REQUEST, messageSet, ex);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy