Package it.fi.meucci.exceptions
Class CommandNotRecognizedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
it.fi.meucci.exceptions.HandlerException
it.fi.meucci.exceptions.CommandNotRecognizedException
- All Implemented Interfaces:
Serializable
Implementation of HandlerException for a COMMAND_NOT_RECOGNIZED Server Announcement
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThis is the method that must be implemented by classes in this package.Methods inherited from class it.fi.meucci.exceptions.HandlerException
print, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
CommandNotRecognizedException
public CommandNotRecognizedException()
-
-
Method Details
-
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 classHandlerException
- Returns:
-