Class ExceptionConverter.Client
- java.lang.Object
-
- com.atlassian.confluence.rest.client.model.ExceptionConverter.Client
-
- Enclosing class:
- ExceptionConverter
public static class ExceptionConverter.Client extends Object
-
-
Constructor Summary
Constructors Constructor Description Client()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServiceException
convertToServiceException(com.sun.jersey.api.client.UniformInterfaceException e)
Converts a JerseyUniformInterfaceException
, such as would be received by a client for a failed request, into aServiceException
.
-
-
-
Method Detail
-
convertToServiceException
public static ServiceException convertToServiceException(com.sun.jersey.api.client.UniformInterfaceException e)
Converts a JerseyUniformInterfaceException
, such as would be received by a client for a failed request, into aServiceException
. It is assumed that the UniformInterfaceException response contains aRestError
entity.See
ExceptionConverter.Server
for the reverse conversion.- Since:
- 5.10
-
-