in activeio-core/src/main/java/org/apache/activeio/journal/howl/HowlJournal.java [83:101]
public void setMark(RecordLocation recordLocator, boolean force)
throws InvalidRecordLocationException, IOException {
try {
long location = toLong(recordLocator);
logger.mark(location, force);
lastMark = recordLocator;
} catch (InterruptedException e) {
throw (InterruptedIOException) new InterruptedIOException()
.initCause(e);
} catch (IOException e) {
throw e;
} catch (InvalidLogKeyException e) {
throw new InvalidRecordLocationException(e.getMessage(), e);
} catch (Exception e) {
throw (IOException) new IOException("Journal write failed: " + e)
.initCause(e);
}
}