Class ResponseExceptionHandler
java.lang.Object
com.broadleafcommerce.billing.common.web.endpoint.exception.ResponseExceptionHandler
@Order(9000)
@RestControllerAdvice(annotations=org.springframework.web.bind.annotation.ResponseBody.class)
public class ResponseExceptionHandler
extends Object
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?>entityMissingException(com.broadleafcommerce.data.tracking.core.exception.EntityMissingException ex) org.springframework.http.ResponseEntity<?>org.springframework.http.ResponseEntity<?>org.springframework.http.ResponseEntity<?>
-
Field Details
-
request
@Autowired protected jakarta.servlet.http.HttpServletRequest request
-
-
Constructor Details
-
ResponseExceptionHandler
public ResponseExceptionHandler()
-
-
Method Details
-
resourceNotFoundException
@ExceptionHandler(ResourceNotFoundException.class) public org.springframework.http.ResponseEntity<?> resourceNotFoundException(ResourceNotFoundException ex) -
entityMissingException
@ExceptionHandler(com.broadleafcommerce.data.tracking.core.exception.EntityMissingException.class) public org.springframework.http.ResponseEntity<?> entityMissingException(com.broadleafcommerce.data.tracking.core.exception.EntityMissingException ex) -
validationViolationException
@ExceptionHandler public org.springframework.http.ResponseEntity<?> validationViolationException(ValidationViolationException ex) -
invalidCancellationException
@ExceptionHandler public org.springframework.http.ResponseEntity<?> invalidCancellationException(InvalidCancellationException ex)
-