com.atlassian.crowd.plugin.rest.exception.mapper
Class UnsupportedOperationExceptionMapper
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnsupportedOperationExceptionMapper
public UnsupportedOperationExceptionMapper()
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.