org.ogf.graap.wsag.api.rest.providers
Class ServiceExceptionMapper
java.lang.Object
org.ogf.graap.wsag.api.rest.providers.ServiceExceptionMapper
- All Implemented Interfaces:
- javax.ws.rs.ext.ExceptionMapper<WSAgreementException>, org.apache.cxf.jaxrs.client.ResponseExceptionMapper<WSAgreementException>
public class ServiceExceptionMapper
- extends Object
- implements javax.ws.rs.ext.ExceptionMapper<WSAgreementException>, org.apache.cxf.jaxrs.client.ResponseExceptionMapper<WSAgreementException>
- Author:
- owaeld
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
META_EC_HEADER
public static final String META_EC_HEADER
- See Also:
- Constant Field Values
META_EM_HEADER
public static final String META_EM_HEADER
- See Also:
- Constant Field Values
ServiceExceptionMapper
public ServiceExceptionMapper()
toResponse
public javax.ws.rs.core.Response toResponse(WSAgreementException exception)
-
- Specified by:
toResponse
in interface javax.ws.rs.ext.ExceptionMapper<WSAgreementException>
- See Also:
ExceptionMapper.toResponse(java.lang.Throwable)
fromResponse
public WSAgreementException fromResponse(javax.ws.rs.core.Response r)
-
- Specified by:
fromResponse
in interface org.apache.cxf.jaxrs.client.ResponseExceptionMapper<WSAgreementException>
- See Also:
ResponseExceptionMapper.fromResponse(javax.ws.rs.core.Response)
Copyright © 2008-2012. All Rights Reserved.