Package discord4j.gateway.retry
Class GatewayException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- discord4j.gateway.retry.GatewayException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InvalidSessionException,PartialDisconnectException,ReconnectException
public class GatewayException extends RuntimeException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GatewayException(ContextView context)GatewayException(ContextView context, String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContextViewgetContext()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
GatewayException
public GatewayException(ContextView context)
-
GatewayException
public GatewayException(ContextView context, String message)
-
-
Method Detail
-
getContext
public ContextView getContext()
-
-