use of jetbrains.exodus.ExodusException in project xodus by JetBrains.
the class FileDataWriter method closeImpl.
@Override
protected void closeImpl() {
final RandomAccessFile file = this.file;
if (file == null) {
throw new ExodusException("Can't close already closed FileDataWriter");
}
try {
file.close();
this.file = null;
} catch (IOException e) {
throw new ExodusException("Can't close FileDataWriter", e);
}
}
Aggregations