public static class ExceptionConverter.Client extends Object
Constructor and Description |
---|
Client() |
Modifier and Type | Method and Description |
---|---|
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 . |
public static ServiceException convertToServiceException(com.sun.jersey.api.client.UniformInterfaceException e)
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.
Copyright © 2003–2016 Atlassian. All rights reserved.