Uses of Class
net.avcompris.commons3.api.exception.ServiceException
Package
Description
-
Uses of ServiceException in net.avcompris.commons3.api.exception
Modifier and TypeClassDescriptionfinal class
final class
final class
This exception is thrown when a resource update could not take place because the "fromRevision" field specified in the update didn’t match the actual "revision" field in the database.final class
final class
final class
final class
final class
final class
final class
final class
final class
class
final class
final class
-
Uses of ServiceException in net.avcompris.commons3.client.impl
Modifier and TypeMethodDescriptionprotected static <T> T
AbstractClient.wrap
(AbstractClient.Action<T> action) protected static void
AbstractClient.wrap
(AbstractClient.ActionVoid action) -
Uses of ServiceException in net.avcompris.commons3.core
Modifier and TypeMethodDescriptionAuthService.authenticate
(String correlationId, String username, String password) void
ForgotPasswordService.forgotPassword
(String correlationId, String uiUrl, String emailAddress) Send the token via emailAuthService.getAuthenticatedUser
(String authorization, String userSessionId) CorrelationService.getCorrelationId
(String correlationIdParam, String correlationIdHeader) Get a non-null correlationId from the HTTP request, or create a new correlationId if needed.AuthService.getMySession
(String correlationId, User user, String userSessionId) AuthService.getUserSession
(String correlationId, User user, String userSessionId) AuthService.getUserSessions
(String correlationId, User user, UserSessionsQuery query) void
CorrelationService.purgeOlderThanSec
(String correlationId, User user, int seconds) void
ForgotPasswordService.resetPassword
(String correlationId, String token, String password) void
AuthService.setLastActiveAt
(String correlationId, User user) AuthService.terminateMySession
(String correlationId, User user, String userSessionId) AuthService.terminateUserSession
(String correlationId, User user, String userSessionId) AuthService.validateUserSessionsQuery
(String correlationId, User user, String q, String sort, Integer start, Integer limit, String expand) -
Uses of ServiceException in net.avcompris.commons3.core.impl
Modifier and TypeMethodDescriptionAbstractServiceImpl.DaoAction.action()
AbstractServiceImpl.Action.execute()
void
AbstractServiceImpl.ActionVoid.execute()
AbstractServiceImpl.ServiceAction.execute()
protected static <T> T
AbstractServiceImpl.retryDaoUntil
(long timeoutMs, long delayMs, boolean throwExceptionInCaseOfTimeout, AbstractServiceImpl.DaoAction<T> action) protected static <T> T
AbstractServiceImpl.retryDaoUntil
(long timeoutMs, long delayMs, AbstractServiceImpl.DaoAction<T> action) protected static <T> T
AbstractServiceImpl.wrap
(AbstractServiceImpl.Action<T> action) protected static void
AbstractServiceImpl.wrap
(AbstractServiceImpl.ActionVoid action) -
Uses of ServiceException in net.avcompris.commons3.core.tests
Modifier and TypeMethodDescriptionCoreTestUtils.Action.action()
static <T> T
CoreTestUtils.retryUntil
(int timeoutMs, int delayMs, CoreTestUtils.Action<T> action) static <T> T
CoreTestUtils.retryUntil
(int timeoutMs, CoreTestUtils.Action<T> action) static void
CoreTestUtils.retryUntil
(int timeoutMs, CoreTestUtils.Predicate predicate) boolean
CoreTestUtils.Predicate.test()
-
Uses of ServiceException in net.avcompris.commons3.triggered
Modifier and TypeMethodDescriptionvoid
ErrorTriggeredAction.execute
(String correlationId, String username, ErrorNotification notification) -
Uses of ServiceException in net.avcompris.commons3.web
Modifier and TypeMethodDescriptionprotected final <T extends org.springframework.http.ResponseEntity<?>>
TAbstractController.handleServiceException
(ServiceException e) Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<T>
org.springframework.http.ResponseEntity<T>
org.springframework.http.ResponseEntity<T>
org.springframework.http.ResponseEntity<T>
AbstractController.UnauthenticatedAnonymousAction.action()
protected final <T> org.springframework.http.ResponseEntity<T>
AbstractController.wrapAuthenticated
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AuthService authService, AbstractController.AuthenticatedAction<T> action) protected final <T> org.springframework.http.ResponseEntity<T>
AbstractController.wrapAuthenticatedOrNot
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AuthService authService, AbstractController.AuthenticatedAction<T> action) protected final <T> org.springframework.http.ResponseEntity<T>
AbstractController.wrapAuthenticatedServletAction
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AuthService authService, AbstractController.AuthenticatedServletAction<T> action) protected final <T> org.springframework.http.ResponseEntity<T>
AbstractController.wrapNonAuthenticated
(javax.servlet.http.HttpServletRequest request, AbstractController.UnauthenticatedAction<T> action) protected final <T> org.springframework.http.ResponseEntity<T>
AbstractController.wrapNonAuthenticatedWithoutCorrelationId
(javax.servlet.http.HttpServletRequest request, AbstractController.UnauthenticatedAnonymousAction<T> action) protected final <T> org.springframework.http.ResponseEntity<T>
AbstractController.wrapWithoutCorrelationId
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, AuthService authService, AbstractController.AuthenticatedAction<T> action)