uk.org.ogsadai.common.files
Class FileNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by uk.org.ogsadai.exception.DAIException
              extended by uk.org.ogsadai.common.files.FileException
                  extended by uk.org.ogsadai.common.files.FileNotFoundException
All Implemented Interfaces:
java.io.Serializable, DAIExceptionInformation

public class FileNotFoundException
extends FileException

Exception thrown when a file cannot be found.

Author:
The OGSA-DAI Project Team.
See Also:
Serialized Form

Constructor Summary
FileNotFoundException(java.io.File file)
          Constructor.
FileNotFoundException(java.io.File file, boolean relative)
          Constructor.
FileNotFoundException(java.lang.String path)
          Constructor.
 
Method Summary
 
Methods inherited from class uk.org.ogsadai.exception.DAIException
getErrorID, getExceptionID, getLocalizedMessage, getMessage, getParameters, hasChild, setErrorID, setParameters
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

FileNotFoundException

public FileNotFoundException(java.io.File file)
Constructor.

Parameters:
file - File that cannot be found.

FileNotFoundException

public FileNotFoundException(java.io.File file,
                             boolean relative)
Constructor.

Parameters:
file - File that cannot be found.
relative - Specify relative or full path in exception message.

FileNotFoundException

public FileNotFoundException(java.lang.String path)
Constructor.

Parameters:
path - Path to file that cannot be found.