Class ExceptionConverter.Client
java.lang.Object
com.atlassian.confluence.rest.client.model.ExceptionConverter.Client
- Enclosing class:
- ExceptionConverter
-
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceException
convertToServiceException
(javax.ws.rs.WebApplicationException e) Converts a JerseyWebApplicationException
, such as would be received by a client for a failed request, into aServiceException
.
-
Method Details
-
convertToServiceException
Converts a JerseyWebApplicationException
, 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:
- 9.0
-