org.neociclo.odetteftp.protocol
Class CommandNotRecognisedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.neociclo.odetteftp.OdetteFtpException
org.neociclo.odetteftp.protocol.CommandNotRecognisedException
- All Implemented Interfaces:
- Serializable
public class CommandNotRecognisedException
- extends OdetteFtpException
The exception thrown when parsing or using an Exchange Buffer that contains
an invalid command code (1st octet of the buffer).
- Version:
- $Rev: 302 $ $Date: 2010-04-27 15:32:42 -0300 (Tue, 27 Apr 2010) $
- Author:
- Rafael Marins
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
CommandNotRecognisedException
public CommandNotRecognisedException(String message)
- Constructor with the specified detail message.
- Parameters:
message
- The detail message.
CommandNotRecognisedException
public CommandNotRecognisedException(char code,
String message)
getCode
public char getCode()
ACCORD