|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
com.edugility.jpa.maven.plugin.FileException
com.edugility.jpa.maven.plugin.DirectoryException
public abstract class DirectoryException
A FileException
that results from a File
representing a directory failing validation of some kind.
FileException
,
Serialized FormConstructor Summary | |
---|---|
protected |
DirectoryException(File directory)
Creates a new DirectoryException . |
protected |
DirectoryException(File directory,
String message)
Creates a new DirectoryException . |
protected |
DirectoryException(File directory,
Throwable cause,
String message)
Creates a new DirectoryException . |
Method Summary | |
---|---|
File |
getDirectory()
A convenience method that returns the return value of the FileException.getFile() method. |
Methods inherited from class com.edugility.jpa.maven.plugin.FileException |
---|
getFile |
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 |
---|
protected DirectoryException(File directory)
DirectoryException
.
directory
- the File
whose validation failure caused
this DirectoryException
to be thrown; may be null
protected DirectoryException(File directory, String message)
DirectoryException
.
directory
- the File
whose validation failure caused
this DirectoryException
to be thrown; may be null
message
- a detail message further explaining this DirectoryException
; may be null
protected DirectoryException(File directory, Throwable cause, String message)
DirectoryException
.
directory
- the File
whose validation failure caused
this DirectoryException
to be thrown; may be null
cause
- the Throwable
that contributed to this
DirectoryException
's cause; may be null
message
- a detail message further explaining this DirectoryException
; may be null
Method Detail |
---|
public final File getDirectory()
FileException.getFile()
method.
This method may return null
.
FileException.getFile()
method, or
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |