Class IllegalArgumentExceptionMapper
java.lang.Object
org.oxerr.commons.ws.rs.exceptionmapper.IllegalArgumentExceptionMapper
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<IllegalArgumentException>
@Provider
@Singleton
public class IllegalArgumentExceptionMapper
extends Object
implements javax.ws.rs.ext.ExceptionMapper<IllegalArgumentException>
Maps
IllegalArgumentException
to 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>
-