Package io.dialob.form.service.rest
Class FormApiExceptionHandlers
- java.lang.Object
-
- io.dialob.form.service.rest.FormApiExceptionHandlers
-
@ControllerAdvice public class FormApiExceptionHandlers extends Object
-
-
Constructor Summary
Constructors Constructor Description FormApiExceptionHandlers()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.http.ResponseEntity<io.dialob.api.rest.Errors>buildResponse(org.springframework.http.HttpStatus httpStatus, String reason)org.springframework.http.ResponseEntityhandleInvalidRequestException(InvalidMetadataQueryException exception)
-
-
-
Method Detail
-
handleInvalidRequestException
@ExceptionHandler public org.springframework.http.ResponseEntity handleInvalidRequestException(InvalidMetadataQueryException exception)
-
buildResponse
protected org.springframework.http.ResponseEntity<io.dialob.api.rest.Errors> buildResponse(org.springframework.http.HttpStatus httpStatus, String reason)
-
-