Class AblyException

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AblyException​(java.lang.Throwable throwable, ErrorInfo reason)
      Constructor for use where there is an ErrorInfo available
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static AblyException fromErrorInfo​(ErrorInfo errorInfo)  
      static AblyException fromErrorInfo​(java.lang.Throwable t, ErrorInfo errorInfo)  
      static AblyException fromThrowable​(java.lang.Throwable t)
      Get an exception from a throwable occurring locally
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, 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

      • AblyException

        protected AblyException​(java.lang.Throwable throwable,
                                ErrorInfo reason)
        Constructor for use where there is an ErrorInfo available
    • Method Detail

      • fromThrowable

        public static AblyException fromThrowable​(java.lang.Throwable t)
        Get an exception from a throwable occurring locally
        Parameters:
        t -
        Returns: