org.apache.archiva.rest.services.interceptors
Class ArchivaRestServiceExceptionMapper
java.lang.Object
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
|
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 |
ArchivaRestServiceExceptionMapper
public ArchivaRestServiceExceptionMapper()
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-2011 The Apache Software Foundation. All Rights Reserved.