com.atlassian.confluence.rest.api.model
Class ExceptionConverter.Client

java.lang.Object
  extended by com.atlassian.confluence.rest.api.model.ExceptionConverter.Client
Enclosing class:
ExceptionConverter

public static class ExceptionConverter.Client
extends java.lang.Object


Constructor Summary
ExceptionConverter.Client()
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionConverter.Client

public ExceptionConverter.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.



Copyright © 2003-2014 Atlassian. All Rights Reserved.