Class ExceptionConverter.Client

    • Constructor Detail

      • Client

        public Client()
    • Method Detail

      • convertToServiceException

        public static ServiceException convertToServiceException​(com.sun.jersey.api.client.UniformInterfaceException e)
        Converts a Jersey UniformInterfaceException, such as would be received by a client for a failed request, into a ServiceException. It is assumed that the UniformInterfaceException response contains a RestError entity.

        See ExceptionConverter.Server for the reverse conversion.

        Since:
        5.10