com.limegroup.gnutella.downloader
Class FileExistsException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended bycom.limegroup.gnutella.downloader.FileExistsException
All Implemented Interfaces:
java.io.Serializable

public class FileExistsException
extends java.io.IOException

Thrown if the file already exists in the download directory

See Also:
Serialized Form

Constructor Summary
FileExistsException(java.lang.String filename)
           
FileExistsException(java.lang.String msg, java.lang.String filename)
           
 
Method Summary
 java.lang.String getFileName()
          Returns the filename passed to this' constructor.
 
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

FileExistsException

public FileExistsException(java.lang.String filename)
Parameters:
filename - the name of the file that already exists

FileExistsException

public FileExistsException(java.lang.String msg,
                           java.lang.String filename)
Parameters:
msg - a generic error message
filename - the name of the file that already exists
Method Detail

getFileName

public java.lang.String getFileName()
Returns the filename passed to this' constructor.