Package net.dv8tion.jda.api.exceptions
Class GuildUnavailableException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- net.dv8tion.jda.api.exceptions.GuildUnavailableException
-
- All Implemented Interfaces:
java.io.Serializable
@Deprecated @ForRemoval(deadline="4.4.0") @DeprecatedSince("4.1.0") public class GuildUnavailableException extends java.lang.RuntimeException
Deprecated.This will be removed in favor of a better system which does not keep unavailable guilds in cache in the first place.Indicates that aGuild
is notavailable
Thrown when an operation requires a Guild to be available andGuild#isAvailable()
isfalse
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GuildUnavailableException()
Deprecated.Creates a new GuildUnavailableException instanceGuildUnavailableException(java.lang.String reason)
Deprecated.Creates a new GuildUnavailableException instance
-
-
-
Constructor Detail
-
GuildUnavailableException
public GuildUnavailableException()
Deprecated.Creates a new GuildUnavailableException instance
-
GuildUnavailableException
public GuildUnavailableException(java.lang.String reason)
Deprecated.Creates a new GuildUnavailableException instance- Parameters:
reason
- The reason for this Exception
-
-