git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@963
f203690c-595d-4dc9-a70b-
905162fa7fd2
{
FileFormatDetails details = getFileFormatDetails(fileFormat);
if (details.getFormat().READ_ONLY) {
- throw new IOException("file format " + fileFormat +
+ throw new IOException("File format " + fileFormat +
" does not support writing for " + mdbFile);
}
+ if(details.getEmptyFilePath() == null) {
+ throw new IOException("File format " + fileFormat +
+ " does not support file creation for " + mdbFile);
+ }
boolean closeChannel = false;
if(channel == null) {