com.myjavaworld.ftp
Class ConnectionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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.
 
Method Summary
 
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

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.