|
||||||||||
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
public abstract class FileException
An IOException
that results from a File
failing
validation of some kind.
DirectoryException
,
Serialized FormField Summary | |
---|---|
private File |
file
The File that failed validation. |
Constructor Summary | |
---|---|
protected |
FileException(File file)
Creates a new FileException . |
protected |
FileException(File file,
String message)
Creates a new FileException . |
protected |
FileException(File file,
Throwable cause,
String message)
Creates a new FileException . |
Method Summary | |
---|---|
File |
getFile()
Returns the File whose validation failure caused this
FileException to be thrown. |
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 |
Field Detail |
---|
private final File file
File
that failed validation. This field may be
null
.
Constructor Detail |
---|
protected FileException(File file)
FileException
.
file
- the File
whose validation failure caused this
FileException
to be thrown; may be null
protected FileException(File file, String message)
FileException
.
file
- the File
whose validation failure caused this
FileException
to be thrown; may be null
message
- a detail message further explaining this FileException
; may be null
protected FileException(File file, Throwable cause, String message)
FileException
.
file
- the File
whose validation failure caused this
FileException
to be thrown; may be null
cause
- the Throwable
that contributed to this
FileException
's cause; may be null
message
- a detail message further explaining this FileException
; may be null
Method Detail |
---|
public File getFile()
File
whose validation failure caused this
FileException
to be thrown.
This method may return null
.
File
whose validation failure caused this
FileException
to be thrown, or null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |