org.apache.archiva.rest.services.interceptors
Class ArchivaRestServiceExceptionMapper

java.lang.Object
  extended by org.apache.archiva.rest.services.interceptors.ArchivaRestServiceExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<org.apache.archiva.rest.api.services.ArchivaRestServiceException>

@Provider
@Service(value="archivaRestServiceExceptionMapper")
public class ArchivaRestServiceExceptionMapper
extends Object
implements javax.ws.rs.ext.ExceptionMapper<org.apache.archiva.rest.api.services.ArchivaRestServiceException>

Since:
1.4-M2
Author:
Olivier Lamy

Constructor Summary
ArchivaRestServiceExceptionMapper()
           
 
Method Summary
 javax.ws.rs.core.Response toResponse(org.apache.archiva.rest.api.services.ArchivaRestServiceException e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArchivaRestServiceExceptionMapper

public ArchivaRestServiceExceptionMapper()
Method Detail

toResponse

public javax.ws.rs.core.Response toResponse(org.apache.archiva.rest.api.services.ArchivaRestServiceException e)
Specified by:
toResponse in interface javax.ws.rs.ext.ExceptionMapper<org.apache.archiva.rest.api.services.ArchivaRestServiceException>


Copyright © 2006-2012 The Apache Software Foundation. All Rights Reserved.