Class SymphonyExceptionMapper

  • All Implemented Interfaces:
    org.apache.cxf.jaxrs.client.ResponseExceptionMapper<Exception>

    @Provider
    public class SymphonyExceptionMapper
    extends Object
    implements org.apache.cxf.jaxrs.client.ResponseExceptionMapper<Exception>
    This improves the error messages returned to your code from Symphony. Without this, the messages are swallowed and not reported in the stack-trace.
    Author:
    robmoffat
    • Constructor Detail

      • SymphonyExceptionMapper

        public SymphonyExceptionMapper()
    • Method Detail

      • fromResponse

        public Exception fromResponse​(javax.ws.rs.core.Response r)
        Specified by:
        fromResponse in interface org.apache.cxf.jaxrs.client.ResponseExceptionMapper<Exception>