You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
443 B
Java
17 lines
443 B
Java
package eu.openaire.urls_controller.exceptions;
|
|
|
|
import org.springframework.http.HttpStatus;
|
|
import org.springframework.web.bind.annotation.ResponseStatus;
|
|
|
|
@ResponseStatus(HttpStatus.BAD_REQUEST)
|
|
public class BadRequestException extends RuntimeException {
|
|
|
|
public BadRequestException(String message) {
|
|
super(message);
|
|
}
|
|
|
|
public BadRequestException(String message, Throwable cause) {
|
|
super(message, cause);
|
|
}
|
|
}
|