Class DestNotCorrectException

All Implemented Interfaces:
Serializable

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

    • DestNotCorrectException

      public DestNotCorrectException()
  • 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: