Interface UserManagementExceptionHandler
-
- All Known Implementing Classes:
UserManagementExceptionHandlerImpl
public interface UserManagementExceptionHandler
Helper for handling exceptions related to user management (Atlassian user, Embedded Crowd, and our own services).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull Optional<javax.ws.rs.core.Response>
handleUserManagementException(@NotNull Exception exception, @NotNull javax.ws.rs.core.MediaType mediaType)
Attempt to produce a REST response of themediaType
based on the givenexception
.
-
-
-
Method Detail
-
handleUserManagementException
@NotNull @NotNull Optional<javax.ws.rs.core.Response> handleUserManagementException(@NotNull @NotNull Exception exception, @NotNull @NotNull javax.ws.rs.core.MediaType mediaType)
Attempt to produce a REST response of themediaType
based on the givenexception
.- Returns:
- REST response to return or empty optional if this helper could not handle the given exception
-
-