com.atlassian.confluence.api.service.exceptions
Class ServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.atlassian.confluence.api.service.exceptions.ServiceException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- BadRequestException, ConflictException, InternalServerException, NotFoundException, NotImplementedServiceException, PermissionException
@ExperimentalApi
public class ServiceException
- extends java.lang.RuntimeException
All thrown API Service-level exceptions should extend this exception.
Every ServiceException subclass should have a clean mapping to HTTP response statuses and messages.
Services may throw this exception to wrap general unexpected exceptions.
Concrete instances of this exception map to a http 500 error.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ServiceException
public ServiceException()
ServiceException
public ServiceException(java.lang.String message)
ServiceException
public ServiceException(java.lang.Throwable throwable)
ServiceException
public ServiceException(java.lang.String message,
java.lang.Throwable cause)
Copyright © 2003-2014 Atlassian. All Rights Reserved.