![JAR search and dependency download from the Maven repository](/logo.png)
net.java.truevfs.kernel.impl.NeedsSyncException Maven / Gradle / Ivy
/*
* Copyright © 2005 - 2021 Schlichtherle IT Services.
* All rights reserved. Use is subject to license terms.
*/
package net.java.truevfs.kernel.impl;
import net.java.truecommons.shed.BitField;
import net.java.truecommons.shed.ControlFlowException;
/**
* Indicates that a file system controller needs to get
* {@linkplain net.java.truevfs.kernel.spec.FsController#sync(BitField) synced} before the operation can get retried.
*
* @author Christian Schlichtherle
* @see SyncController
*/
final class NeedsSyncException extends ControlFlowException {
private static final long serialVersionUID = 0;
private static final NeedsSyncException instance = new NeedsSyncException();
private NeedsSyncException() {
super(false);
}
static NeedsSyncException apply() {
return isTraceable() ? new NeedsSyncException() : instance;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy