File fle = new File(strPath);
if (!fle.exists())
{
String str = "! fle.exists(), fle.getAbsolutePath()" + fle.getAbsolutePath();
throw new MissingDatabaseException(str);
}
if (!fle.isFile())
{
String str = "! fle.isFile(), fle.getAbsolutePath()" + fle.getAbsolutePath();
throw new MissingDatabaseException(str);
}
if (!fle.canRead())
{
String str = "! fle.canRead(), fle.getAbsolutePath()" + fle.getAbsolutePath();
throw new MissingDatabaseException(str);
}
if (!fle.canWrite())
{
String str = "! fle.canWrite(), fle.getAbsolutePath()" + fle.getAbsolutePath();
throw new MissingDatabaseException(str);
}
}