uk.org.ogsadai.common.files
Class DAIDirectoryNotDirectoryException
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.DAIDirectoryNotDirectoryException
- All Implemented Interfaces:
- DAIExceptionInformation, java.io.Serializable
- public class DAIDirectoryNotDirectoryException
- extends DAIFileException
Exception thrown when a specified directory is not actually a
directory.
Associated with error code: uk.org.ogsadai.DIR_NOT_DIR
.
- Author:
- The OGSA-DAI Project Team
- See Also:
- Serialized Form
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 |
getFile()
Gets the details of the file that is not a directory. |
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
mNonDirectory
private final java.io.File mNonDirectory
- File that is not a directory
DAIDirectoryNotDirectoryException
public DAIDirectoryNotDirectoryException(java.io.File dir)
- Constructor.
- Parameters:
dir
- Directory that is not actually a directory.
getFile
public java.io.File getFile()
- Gets the details of the file that is not a directory.
- Returns:
- File that is not a directory.