Class ExceptionConverter.Client

java.lang.Object
com.atlassian.confluence.rest.client.model.ExceptionConverter.Client
Enclosing class:
ExceptionConverter

public static class ExceptionConverter.Client extends Object
  • Method Details

    • convertToServiceException

      public static ServiceException convertToServiceException(javax.ws.rs.WebApplicationException e)
      Converts a Jersey WebApplicationException, 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:
      9.0