Class ExceptionConverter.Client
java.lang.Object
com.atlassian.confluence.rest.client.model.ExceptionConverter.Client
- Enclosing class:
ExceptionConverter
-
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceExceptionconvertToServiceException(jakarta.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 aRestErrorentity.See
ExceptionConverter.Serverfor the reverse conversion.- Since:
- 9.0
-