Class ApplicationAlreadyExistsExceptionMapper
java.lang.Object
com.atlassian.crowd.plugin.rest.exception.mapper.ApplicationAlreadyExistsExceptionMapper
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<ApplicationAlreadyExistsException>
@Provider
public class ApplicationAlreadyExistsExceptionMapper
extends Object
implements javax.ws.rs.ext.ExceptionMapper<ApplicationAlreadyExistsException>
Maps an
ApplicationAlreadyExistsException
to a Response
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
toResponse
(ApplicationAlreadyExistsException exception)
-
Constructor Details
-
ApplicationAlreadyExistsExceptionMapper
public ApplicationAlreadyExistsExceptionMapper()
-
-
Method Details
-
toResponse
- Specified by:
toResponse
in interfacejavax.ws.rs.ext.ExceptionMapper<ApplicationAlreadyExistsException>
-