void (@NotNull FailedToLoadContentException e) { Throwable cause = e.getCause(); VirtualFile file = e.getFile(); String fileUrl = "File: " + file.getUrl(); if (cause instanceof FileNotFoundException || cause instanceof NoSuchFileException) { // It is possible to not observe file system change until refresh finish, we handle missed file properly anyway. FileBasedIndexImpl.LOG.debug(fileUrl, e); } else if (cause instanceof IndexOutOfBoundsException || cause instanceof InvalidVirtualFileAccessException || cause instanceof IOException) { FileBasedIndexImpl.LOG.info(fileUrl, e); } else { FileBasedIndexImpl.LOG.error(fileUrl, e); } }