com.atlassian.crowd.plugin.rest.exception.mapper
Class IllegalArgumentExceptionMapper

java.lang.Object
  extended by 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
IllegalArgumentExceptionMapper()
           
 
Method Summary
 javax.ws.rs.core.Response toResponse(IllegalArgumentException exception)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IllegalArgumentExceptionMapper

public IllegalArgumentExceptionMapper()
Method Detail

toResponse

public javax.ws.rs.core.Response toResponse(IllegalArgumentException exception)
Specified by:
toResponse in interface javax.ws.rs.ext.ExceptionMapper<IllegalArgumentException>


Copyright © 2013 Atlassian. All Rights Reserved.