com.atlassian.confluence.rest.api.model
Class ExceptionConverter.Server
java.lang.Object
com.atlassian.confluence.rest.api.model.ExceptionConverter.Server
- Enclosing class:
- ExceptionConverter
public static class ExceptionConverter.Server
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExceptionConverter.Server
public ExceptionConverter.Server()
convertServiceException
public static RestError convertServiceException(Exception e)
- Converts a
ServiceException
into a corresponding RestError
with the correct status.
- Throws:
RuntimeException
- if the exception cannot be converted
Copyright © 2003–2015 Atlassian. All rights reserved.