Java Globus API: Class FTPReplyParseException

org.globus.ftp.exception
Class FTPReplyParseException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.globus.ftp.exception.FTPException
                    |
                    +--org.globus.ftp.exception.FTPReplyParseException
All Implemented Interfaces:
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, String message)
           
 
Method Summary
 String getCodeExplanation(int code)
           
 
Methods inherited from class org.globus.ftp.exception.FTPException
getCode, getCustomMessage, getMessage, getRootCause, printStackTrace, setCode, setCustomMessage, setRootCause, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace
 
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

FIRST_3_CHARS

public static final int FIRST_3_CHARS

UNEXPECTED_4TH_CHAR

public static final int UNEXPECTED_4TH_CHAR

MESSAGE_UNPARSABLE

public static final int MESSAGE_UNPARSABLE
Constructor Detail

FTPReplyParseException

public FTPReplyParseException(int code)

FTPReplyParseException

public FTPReplyParseException(int code,
                              String message)
Method Detail

getCodeExplanation

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