java.lang.Object
com.broadleafcommerce.auth.resource.web.endpoint.exception.AuthExceptionAdvisor

@RestControllerAdvice(annotations=org.springframework.web.bind.annotation.ResponseBody.class) public class AuthExceptionAdvisor extends Object
General exception handler registry for handlers not exclusive to a single controller.
Author:
Samarth Dhruva (samarthd)
  • Constructor Details

    • AuthExceptionAdvisor

      public AuthExceptionAdvisor()
  • Method Details

    • handleResetPasswordException

      @ExceptionHandler(ResetPasswordException.class) public org.springframework.http.ResponseEntity<com.broadleafcommerce.common.error.ApiError> handleResetPasswordException(Exception ex, org.springframework.web.context.request.WebRequest request)
    • logError

      protected void logError(Exception ex, org.springframework.web.context.request.WebRequest request)