public class ConfigPathException extends ConfigException
Modifier and Type | Field and Description |
---|---|
static String |
DIRECTORY
One of 2 BioLockJ file path types that can be passed to the constructor "directory".
|
static String |
FILE
One of 2 BioLockJ file path types that can be passed to the constructor "file".
|
Constructor and Description |
---|
ConfigPathException(File file)
ConfigPathException is thrown if the filePath parameter does not exist on the file system.
|
ConfigPathException(File file,
String msg)
ConfigPathException is thrown if the filePath parameter does not exist on the file system.
|
ConfigPathException(String property,
String fileType)
ConfigPathException is thrown if the path does not exist or is not the proper file type: "file" or
"directory".
|
buildMessage
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final String DIRECTORY
public static final String FILE
public ConfigPathException(File file)
file
- File or directory pathpublic ConfigPathException(File file, String msg)
file
- File or directory pathmsg
- Error messagepublic ConfigPathException(String property, String fileType)
property
- Config
property namefileType
- File type must be "file" or "directory"