Package it.fi.meucci.exceptions
Class NeedNameException
java.lang.Object
java.lang.Throwable
java.lang.Exception
it.fi.meucci.exceptions.HandlerException
it.fi.meucci.exceptions.NeedNameException
- All Implemented Interfaces:
Serializable
Implementation of HandlerException for a NEED_NAME 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
-
NeedNameException
public NeedNameException()
-
-
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:
-