uk.org.ogsadai.common.files
Class DAIFileNotFoundException
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.DAIFileNotFoundException
- All Implemented Interfaces:
- DAIExceptionInformation, java.io.Serializable
- public class DAIFileNotFoundException
- extends DAIFileException
Exception thrown when a file cannot be found.
Associated with error code: uk.org.ogsadai.FILE_NOT_FOUND
.
- 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.lang.String |
getAbsolutePath()
Gets the absolute path to the file that was not 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
mAbsolutePath
private java.lang.String mAbsolutePath
-
Absolute path to file that was not found
DAIFileNotFoundException
public DAIFileNotFoundException(java.io.File file)
-
Constructor.
- Parameters:
file
- File that cannot be found.
DAIFileNotFoundException
public DAIFileNotFoundException(java.io.File file,
boolean relative)
-
Constructor.
- Parameters:
file
- File that cannot be found.
relative
- Specify relative or full path in exception message.
getAbsolutePath
public java.lang.String getAbsolutePath()
-
Gets the absolute path to the file that was not found.
-
- Returns:
- Absolute path to missing file.