public static class ExceptionConverter.Server extends Object
| Constructor and Description |
|---|
Server() |
| Modifier and Type | Method and Description |
|---|---|
static RestError |
convertServiceException(Exception e)
Converts a
ServiceException into a corresponding RestError with the correct status. |
public static RestError convertServiceException(Exception e)
ServiceException into a corresponding RestError with the correct status.RuntimeException - if the exception cannot be convertedCopyright © 2003–2015 Atlassian. All rights reserved.