@Component public class UserManagementExceptionHandlerImpl extends Object implements UserManagementExceptionHandler
Constructor and Description |
---|
UserManagementExceptionHandlerImpl(com.atlassian.sal.api.message.I18nResolver i18nResolver) |
Modifier and Type | Method and Description |
---|---|
Optional<javax.ws.rs.core.Response> |
handleUserManagementException(Exception exception,
javax.ws.rs.core.MediaType mediaType)
Attempt to produce a REST response of the
mediaType based on the given exception . |
void |
setUpMappings() |
@Inject public UserManagementExceptionHandlerImpl(com.atlassian.sal.api.message.I18nResolver i18nResolver)
@PostConstruct public void setUpMappings()
@NotNull public Optional<javax.ws.rs.core.Response> handleUserManagementException(@NotNull Exception exception, @NotNull javax.ws.rs.core.MediaType mediaType)
UserManagementExceptionHandler
mediaType
based on the given exception
.handleUserManagementException
in interface UserManagementExceptionHandler
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.