Package org.globus.ftp.exception
Class DataChannelException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.globus.ftp.exception.FTPException
-
- 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
Fields Modifier and Type Field Description static intBAD_SERVER_MODEprotected java.lang.StringcustomMessagestatic intUNDEFINED_SERVER_MODE-
Fields inherited from class org.globus.ftp.exception.FTPException
cause, code, UNSPECIFIED
-
-
Constructor Summary
Constructors Constructor Description DataChannelException(int code)DataChannelException(int code, java.lang.String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCodeExplanation(int code)-
Methods inherited from class org.globus.ftp.exception.FTPException
getCode, getCustomMessage, getMessage, getRootCause, printStackTrace, printStackTrace, printStackTrace, setCode, setCustomMessage, setRootCause, toString
-
-
-
-
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
-
-
Method Detail
-
getCodeExplanation
public java.lang.String getCodeExplanation(int code)
- Overrides:
getCodeExplanationin classFTPException
-
-