-
- All Implemented Interfaces:
-
java.io.Serializable
public class AblyException extends Exception
An exception type encapsulating an Ably error code
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classAblyException.HostFailedException
-
Method Summary
Modifier and Type Method Description static AblyExceptionfromErrorInfo(ErrorInfo errorInfo)static AblyExceptionfromErrorInfo(Throwable t, ErrorInfo errorInfo)static AblyExceptionfromThrowable(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, setStackTrace, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
fromErrorInfo
static AblyException fromErrorInfo(ErrorInfo errorInfo)
-
fromErrorInfo
static AblyException fromErrorInfo(Throwable t, ErrorInfo errorInfo)
-
fromThrowable
static AblyException fromThrowable(Throwable t)
Get an exception from a throwable occurring locally
-
-
-
-