org.globus.ftp.exception
Class FTPReplyParseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.globus.ftp.exception.FTPException
              extended by org.globus.ftp.exception.FTPReplyParseException
All Implemented Interfaces:
java.io.Serializable

public class FTPReplyParseException
extends FTPException

Indicates that the reply received from server failed to parse.

See Also:
Serialized Form

Field Summary
static int FIRST_3_CHARS
           
static int MESSAGE_UNPARSABLE
           
static int STRING_TOO_SHORT
           
static int UNEXPECTED_4TH_CHAR
           
 
Fields inherited from class org.globus.ftp.exception.FTPException
cause, code, customMessage, UNSPECIFIED
 
Constructor Summary
FTPReplyParseException(int code)
           
FTPReplyParseException(int code, java.lang.String message)
           
 
Method Summary
 java.lang.String getCodeExplanation(int code)
           
 
Methods inherited from class org.globus.ftp.exception.FTPException
getCode, getCustomMessage, getMessage, getRootCause, printStackTrace, printStackTrace, printStackTrace, setCode, setCustomMessage, setRootCause, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STRING_TOO_SHORT

public static final int STRING_TOO_SHORT
See Also:
Constant Field Values

FIRST_3_CHARS

public static final int FIRST_3_CHARS
See Also:
Constant Field Values

UNEXPECTED_4TH_CHAR

public static final int UNEXPECTED_4TH_CHAR
See Also:
Constant Field Values

MESSAGE_UNPARSABLE

public static final int MESSAGE_UNPARSABLE
See Also:
Constant Field Values
Constructor Detail

FTPReplyParseException

public FTPReplyParseException(int code)

FTPReplyParseException

public FTPReplyParseException(int code,
                              java.lang.String message)
Method Detail

getCodeExplanation

public java.lang.String getCodeExplanation(int code)
Overrides:
getCodeExplanation in class FTPException