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