9 lines
248 B
Java
Raw Normal View History

2018-06-29 14:48:22 +02:00
package com.baeldung.annotations;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
@ResponseStatus(code = HttpStatus.BAD_REQUEST)
public class CustomException extends RuntimeException {
}