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