uk.org.ogsadai.common.files
Class DAIDirectoryNotFoundException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--uk.org.ogsadai.exception.DAIException
|
+--uk.org.ogsadai.common.files.DAIFileException
|
+--uk.org.ogsadai.common.files.DAIDirectoryNotFoundException
- All Implemented Interfaces:
- DAIExceptionInformation, java.io.Serializable
- public class DAIDirectoryNotFoundException
- extends DAIFileException
Exception thrown when a directory cannot be found.
Associated with error code: uk.org.ogsadai.DIR_NOT_FOUND
.
- Author:
- The OGSA-DAI Project Team
- See Also:
- Serialized Form
Field Summary |
private static java.lang.String |
COPYRIGHT_NOTICE
|
private java.io.File |
mDirectory
The directory that could not be found |
Fields inherited from class uk.org.ogsadai.exception.DAIException |
|
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Method Summary |
java.io.File |
getDirectory()
Gets the directory that could not be found. |
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 |
COPYRIGHT_NOTICE
private static final java.lang.String COPYRIGHT_NOTICE
-
- See Also:
- Constant Field Values
mDirectory
private final java.io.File mDirectory
-
The directory that could not be found
DAIDirectoryNotFoundException
public DAIDirectoryNotFoundException(java.io.File dir)
-
Constructor.
- Parameters:
dir
- Directory that cannot be found.
DAIDirectoryNotFoundException
public DAIDirectoryNotFoundException(java.io.File dir,
boolean relative)
-
Constructor.
- Parameters:
dir
- Directory that cannot be found.
relative
- Specify relative or full path in exception message.
getDirectory
public java.io.File getDirectory()
-
Gets the directory that could not be found.
-
- Returns:
- The directory that could not be found.