Class AuthExceptionAdvisor
- 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 Summary
Constructors Constructor Description AuthExceptionAdvisor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<com.broadleafcommerce.common.error.ApiError>
handleResetPasswordException(Exception ex, org.springframework.web.context.request.WebRequest request)
protected void
logError(Exception ex, org.springframework.web.context.request.WebRequest request)
-
-
-
Method Detail
-
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)
-
-