org.neociclo.odetteftp.protocol
Class CommandNotRecognisedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.neociclo.odetteftp.OdetteFtpException
              extended by 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

Constructor Summary
CommandNotRecognisedException(char code, String message)
           
CommandNotRecognisedException(String message)
          Constructor with the specified detail message.
 
Method Summary
 char getCode()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CommandNotRecognisedException

public CommandNotRecognisedException(String message)
Constructor with the specified detail message.

Parameters:
message - The detail message.

CommandNotRecognisedException

public CommandNotRecognisedException(char code,
                                     String message)
Method Detail

getCode

public char getCode()


ACCORD