Class NetworkIOException

  • All Implemented Interfaces:
    java.io.Serializable

    public class NetworkIOException
    extends DbxException
    This gets thrown when there's an IOException when reading or writing to the network (when communicating with the Dropbox API servers).

    We use a separate exception class (instead of just relaying IOException) to make it easier for you to distinguish between I/O errors communicating with Dropbox and I/O errors from your own code.

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      NetworkIOException​(java.io.IOException cause)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.io.IOException getCause()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • NetworkIOException

        public NetworkIOException​(java.io.IOException cause)
    • Method Detail

      • getCause

        public java.io.IOException getCause()
        Overrides:
        getCause in class java.lang.Throwable