|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.io.IOException tribble.net.ftp.FTPException
public class FTPException
Simple FTP exception. Represents the I/O exceptions thrown by FTP clients and servers.
Copyright ©2006-2010 by David R. Tribble, all rights reserved.
Permission is granted to any person or entity except those designated
by the United States Department of State as a terrorist, or terrorist
government or agency, to use and distribute this source code provided
that the original copyright notice remains present and unaltered.
FTPClientI
,
FTPClientAdapter
,
FTPClient
,
Serialized FormConstructor Summary | |
---|---|
FTPException()
Default constructor. |
|
FTPException(int code,
java.lang.String msg)
Constructor. |
|
FTPException(int code,
java.lang.String msg,
java.lang.Throwable cause)
Constructor. |
|
FTPException(java.lang.String msg)
Constructor. |
|
FTPException(java.lang.String msg,
java.lang.Throwable cause)
Constructor. |
Method Summary | |
---|---|
int |
getErrorCode()
Retrieve the FTP error code associated with this exception. |
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 |
---|
public FTPException()
public FTPException(java.lang.String msg)
msg
- Message detailing this exception.public FTPException(int code, java.lang.String msg)
code
- FTP error code.msg
- Message detailing this exception.public FTPException(java.lang.String msg, java.lang.Throwable cause)
msg
- Message detailing this exception.cause
- Exception that caused this exception.public FTPException(int code, java.lang.String msg, java.lang.Throwable cause)
code
- FTP error code.msg
- Message detailing this exception.cause
- Exception that caused this exception.Method Detail |
---|
public int getErrorCode()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |