com.myjavaworld.ftp
Class ConnectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.myjavaworld.ftp.ConnectionException
- All Implemented Interfaces:
- Serializable
public class ConnectionException
- extends Exception
A General exception class to indicate connection failures. All classes in
this package must throw this exception as a replacement for SocketException
and IOException when reading data from or writing data to the remote host.
- Version:
- 2.0
- Author:
- Sai Pullabhotla, psai [at] jMethods [dot] com
- See Also:
- Serialized Form
Constructor Summary |
ConnectionException()
Constructs a ConnectionException object with no detailed
message. |
ConnectionException(String message)
Constructs a ConnectionException object with the specified
detailed message. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ConnectionException
public ConnectionException()
- Constructs a
ConnectionException
object with no detailed
message.
ConnectionException
public ConnectionException(String message)
- Constructs a
ConnectionException
object with the specified
detailed message.
- Parameters:
message
- reason string.
Copyright © 2000-2012 jMethods, Inc.. All Rights Reserved.