Package sk.gursky.filmsrestserver.rest
Class UsersAdvice
java.lang.Object
sk.gursky.filmsrestserver.rest.UsersAdvice
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescription 
- 
Constructor Details
- 
UsersAdvice
public UsersAdvice() 
 - 
 - 
Method Details
- 
handleDaoException
@ExceptionHandler(DaoException.class) @ResponseStatus(NOT_ACCEPTABLE) @ResponseBody public ApiError handleDaoException(DaoException e)  - 
handleNullPointerException
@ExceptionHandler(java.lang.NullPointerException.class) @ResponseStatus(BAD_REQUEST) @ResponseBody public ApiError handleNullPointerException(NullPointerException e)  - 
handleUnauthorizedActionException
@ExceptionHandler(UnauthorizedActionException.class) @ResponseStatus(UNAUTHORIZED) @ResponseBody public ApiError handleUnauthorizedActionException(UnauthorizedActionException e)  - 
handleForbiddenActionException
@ExceptionHandler(ForbiddenActionException.class) @ResponseStatus(FORBIDDEN) @ResponseBody public ApiError handleForbiddenActionException(ForbiddenActionException e)  
 -