Class AuthorizationExceptionMapper

java.lang.Object
com.atlassian.labs.crowd.directory.pruning.rest.AuthorizationExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<com.atlassian.plugins.rest.api.security.exception.AuthorizationException>

@Provider public class AuthorizationExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<com.atlassian.plugins.rest.api.security.exception.AuthorizationException>
  • Constructor Details

    • AuthorizationExceptionMapper

      @Inject public AuthorizationExceptionMapper(com.atlassian.sal.api.message.I18nResolver i18nResolver)
  • Method Details

    • toResponse

      public javax.ws.rs.core.Response toResponse(com.atlassian.plugins.rest.api.security.exception.AuthorizationException exception)
      Specified by:
      toResponse in interface javax.ws.rs.ext.ExceptionMapper<com.atlassian.plugins.rest.api.security.exception.AuthorizationException>