com.atlassian.confluence.rest.api.model
Class ExceptionConverter.Client
java.lang.Object
com.atlassian.confluence.rest.api.model.ExceptionConverter.Client
- Enclosing class:
- ExceptionConverter
public static class ExceptionConverter.Client
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExceptionConverter.Client
public ExceptionConverter.Client()
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–2015 Atlassian. All rights reserved.