Class GuildUnavailableException

  • All Implemented Interfaces:
    java.io.Serializable

    public class GuildUnavailableException
    extends java.lang.RuntimeException
    Indicates that a Guild is not available
    Thrown when an operation requires a Guild to be available and Guild#isAvailable() is false
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • GuildUnavailableException

        public GuildUnavailableException()
        Creates a new GuildUnavailableException instance
      • GuildUnavailableException

        public GuildUnavailableException​(java.lang.String reason)
        Creates a new GuildUnavailableException instance
        Parameters:
        reason - The reason for this Exception