com.dropbox.client2.exception
Class DropboxException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.dropbox.client2.exception.DropboxException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
DropboxFileSizeException, DropboxIOException, DropboxLocalStorageFullException, DropboxParseException, DropboxPartialFileException, DropboxServerException, DropboxUnlinkedException

public class DropboxException
extends java.lang.Exception

A base for all exceptions from using the API. Catch this instead of specific subclasses when you want to deal with those issues in a generic way.

See Also:
Serialized Form

Constructor Summary
protected DropboxException()
           
  DropboxException(java.lang.String detailMessage)
           
  DropboxException(java.lang.String detailMessage, java.lang.Throwable throwable)
           
  DropboxException(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

DropboxException

protected DropboxException()

DropboxException

public DropboxException(java.lang.String detailMessage)

DropboxException

public DropboxException(java.lang.String detailMessage,
                        java.lang.Throwable throwable)

DropboxException

public DropboxException(java.lang.Throwable throwable)