-
- All Implemented Interfaces:
-
java.io.Serializable
public class GliaException extends RuntimeException
Glia exception that contains a message for debugging and a Cause enum value for handling some of the user and connection errors programmatically.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumGliaException.CausePossible exception causes
-
Field Summary
Fields Modifier and Type Field Description public final StringdebugMessagepublic final GliaException.Causecause
-
Constructor Summary
Constructors Constructor Description GliaException(String debugMessage, GliaException.Cause cause)
-
Method Summary
Modifier and Type Method Description StringtoString()static GliaExceptionfrom(Throwable throwable)-
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
-
-
Constructor Detail
-
GliaException
GliaException(String debugMessage, GliaException.Cause cause)
-
-
Method Detail
-
from
static GliaException from(Throwable throwable)
-
-
-
-