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

java.lang.Object
  extended by com.atlassian.crowd.plugin.rest.exception.mapper.UnsupportedOperationExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<UnsupportedOperationException>

@Provider
public class UnsupportedOperationExceptionMapper
extends Object
implements javax.ws.rs.ext.ExceptionMapper<UnsupportedOperationException>

Maps an UnsupportedOperationException to a Response.

Since:
v2.1

Constructor Summary
UnsupportedOperationExceptionMapper()
           
 
Method Summary
 javax.ws.rs.core.Response toResponse(UnsupportedOperationException exception)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnsupportedOperationExceptionMapper

public UnsupportedOperationExceptionMapper()
Method Detail

toResponse

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


Copyright © 2012 Atlassian. All Rights Reserved.