Class B2NetworkException

  • All Implemented Interfaces:
    java.io.Serializable

    public class B2NetworkException
    extends B2NetworkBaseException
    B2NetworkTimeoutException represents the network connection to a B2 server being closed locally because the server isn't answering in a timely fashion. Note that this exception is generated locally by the SDK and has a non-standard STATUS code.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      B2NetworkException​(java.lang.String code, java.lang.Integer retryAfterSecondsOrNull, java.lang.String message)  
      B2NetworkException​(java.lang.String code, java.lang.Integer retryAfterSecondsOrNull, java.lang.String message, java.lang.Throwable cause)  
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • B2NetworkException

        public B2NetworkException​(java.lang.String code,
                                  java.lang.Integer retryAfterSecondsOrNull,
                                  java.lang.String message)
      • B2NetworkException

        public B2NetworkException​(java.lang.String code,
                                  java.lang.Integer retryAfterSecondsOrNull,
                                  java.lang.String message,
                                  java.lang.Throwable cause)