org.globus.ftp.exception
Class DataChannelException

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.DataChannelException
All Implemented Interfaces:
java.io.Serializable

public class DataChannelException
extends FTPException

Indicates data channel problems. Thrown by local server at layer 2.

See Also:
Serialized Form

Field Summary
static int BAD_SERVER_MODE
           
protected  java.lang.String customMessage
           
static int UNDEFINED_SERVER_MODE
           
 
Fields inherited from class org.globus.ftp.exception.FTPException
cause, code, UNSPECIFIED
 
Constructor Summary
DataChannelException(int code)
           
DataChannelException(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

UNDEFINED_SERVER_MODE

public static final int UNDEFINED_SERVER_MODE
See Also:
Constant Field Values

BAD_SERVER_MODE

public static final int BAD_SERVER_MODE
See Also:
Constant Field Values

customMessage

protected java.lang.String customMessage
Constructor Detail

DataChannelException

public DataChannelException(int code,
                            java.lang.String message)

DataChannelException

public DataChannelException(int code)
Method Detail

getCodeExplanation

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


Copyright © 2013. All Rights Reserved.