Class ScheduledJobExceptionAdvisor
java.lang.Object
com.broadleafcommerce.scheduledjob.web.endpoint.exception.ScheduledJobExceptionAdvisor
@RestControllerAdvice(annotations=org.springframework.web.bind.annotation.ResponseBody.class)
public class ScheduledJobExceptionAdvisor
extends Object
General exception handler registry for handlers not exclusive to a single controller.
- Author:
- Dima Myroniuk (dmyroniuk)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<com.broadleafcommerce.common.error.ApiError>
handleDeleteScheduledJobException
(DeleteScheduledJobException ex, org.springframework.web.context.request.WebRequest request) protected void
-
Constructor Details
-
ScheduledJobExceptionAdvisor
public ScheduledJobExceptionAdvisor()
-
-
Method Details
-
handleDeleteScheduledJobException
@ExceptionHandler public org.springframework.http.ResponseEntity<com.broadleafcommerce.common.error.ApiError> handleDeleteScheduledJobException(DeleteScheduledJobException ex, org.springframework.web.context.request.WebRequest request) -
logDebug
-