Class DisconnectException

All Implemented Interfaces:
Serializable

public class DisconnectException extends HandlerException
Implementation of HandlerException for a DISCONNECT Server Announcement
See Also:
  • Constructor Details

    • DisconnectException

      public DisconnectException()
  • Method Details

    • getServerAnnouncement

      public ServerAnnouncement getServerAnnouncement()
      Description copied from class: HandlerException
      This is the method that must be implemented by classes in this package. It must return a type of server announcement, that will then be sent as a message to the client.
      Specified by:
      getServerAnnouncement in class HandlerException
      Returns: