com.atlassian.confluence.api.service.exceptions
Class ServiceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.atlassian.confluence.api.service.exceptions.ServiceException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BadRequestException, ConflictException, NotFoundException, PermissionException

public class ServiceException
extends java.lang.Exception

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.

See Also:
Serialized Form

Constructor Summary
ServiceException()
           
ServiceException(java.lang.String message)
           
ServiceException(java.lang.String message, java.lang.Throwable cause)
           
ServiceException(java.lang.Throwable throwable)
           
 
Method Summary
 
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
 

Constructor Detail

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-2013 Atlassian. All Rights Reserved.