static public EnumFileState fileState(final Exception exception) {
return HeapFileStateHelper.fileState(exception);
}
static public FileIOException fileIOException(final Exception exception) {
FileIOException fileIOException = null;
Throwable current = exception;
while (fileIOException == null && current != null) {
if (current instanceof FileIOException) {
fileIOException = (FileIOException) current;
}