Package discord4j.gateway.retry
Class ReconnectException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- discord4j.gateway.retry.GatewayException
-
- discord4j.gateway.retry.ReconnectException
-
- All Implemented Interfaces:
Serializable
public class ReconnectException extends GatewayException
An exception class to handle gateway reconnects via reconnect opcode.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReconnectException(ContextView context, String message)
-
Method Summary
-
Methods inherited from class discord4j.gateway.retry.GatewayException
getContext
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ReconnectException
public ReconnectException(ContextView context, String message)
-
-