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

org.heigit.ohsome.ohsomeapi.exception.NotAllowedException Maven / Gradle / Ivy

The newest version!
package org.heigit.ohsome.ohsomeapi.exception;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

/** Exception class corresponding to the HTTP status code 405. */
@ResponseStatus(value = HttpStatus.METHOD_NOT_ALLOWED)
public class NotAllowedException extends RuntimeException {

  private static final long serialVersionUID = -4222709148776556662L;

  public NotAllowedException(String message) {
    super(message);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy