12 lines
322 B
Java
12 lines
322 B
Java
package pl.edu.amu.wmi.bookapi.exceptions;
|
|
|
|
import org.springframework.http.HttpStatus;
|
|
import org.springframework.web.bind.annotation.ResponseStatus;
|
|
|
|
@ResponseStatus(HttpStatus.BAD_REQUEST)
|
|
public class RegisterException extends Throwable {
|
|
public RegisterException(String message) {
|
|
super(message);
|
|
}
|
|
}
|