class ExceptionsHandler extends BaseExceptionHandler<ResponseEntity> {

    @ExceptionHandler(InvalidLifeCyclePhaseException.class)
    public ResponseEntity toResponse(InvalidLifeCyclePhaseException exception) {
        return mapException(exception);
    }

}