|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.rest.api.model.ExceptionConverter.Server
public static class ExceptionConverter.Server
Constructor Summary | |
---|---|
ExceptionConverter.Server()
|
Method Summary | |
---|---|
static RestError |
convertServiceException(java.lang.Exception e)
Converts a ServiceException into a corresponding RestError with the correct status. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExceptionConverter.Server()
Method Detail |
---|
public static RestError convertServiceException(java.lang.Exception e)
ServiceException
into a corresponding RestError
with the correct status.
java.lang.RuntimeException
- if the exception cannot be converted
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |