Class TicketingControllerAdvice
- java.lang.Object
-
- de.hybris.platform.secaddon.controllers.TicketingControllerAdvice
-
@ControllerAdvice public class TicketingControllerAdvice extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TicketingControllerAdvice()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorDatadataIntegrityViolationExceptionHandler(java.lang.Exception ex)protected java.lang.StringgetMessage(org.springframework.web.bind.MethodArgumentNotValidException ex)ErrorDatahandleInvalidRequest(org.springframework.web.bind.MethodArgumentNotValidException exception)
-
-
-
Method Detail
-
dataIntegrityViolationExceptionHandler
@ResponseBody @ExceptionHandler(java.lang.IllegalArgumentException.class) @ResponseStatus(BAD_REQUEST) public ErrorData dataIntegrityViolationExceptionHandler(java.lang.Exception ex)
-
handleInvalidRequest
@ExceptionHandler(org.springframework.web.bind.MethodArgumentNotValidException.class) @ResponseStatus(BAD_REQUEST) @ResponseBody public ErrorData handleInvalidRequest(org.springframework.web.bind.MethodArgumentNotValidException exception)
-
getMessage
protected java.lang.String getMessage(org.springframework.web.bind.MethodArgumentNotValidException ex)
-
-