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