Class AnonymousUserPermissionExceptionMapper
java.lang.Object
com.atlassian.crowd.plugin.rest.exception.mapper.AnonymousUserPermissionExceptionMapper
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<AnonymousUserPermissionException>
@Provider
public class AnonymousUserPermissionExceptionMapper
extends Object
implements javax.ws.rs.ext.ExceptionMapper<AnonymousUserPermissionException>
-
Constructor Summary
ConstructorDescriptionAnonymousUserPermissionExceptionMapper
(com.atlassian.sal.api.message.I18nResolver i18nResolver) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
toResponse
(AnonymousUserPermissionException exception)
-
Constructor Details
-
AnonymousUserPermissionExceptionMapper
@Inject public AnonymousUserPermissionExceptionMapper(com.atlassian.sal.api.message.I18nResolver i18nResolver)
-
-
Method Details
-
toResponse
- Specified by:
toResponse
in interfacejavax.ws.rs.ext.ExceptionMapper<AnonymousUserPermissionException>
-