All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.java.truevfs.kernel.impl.NeedsLockRetryException 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.ControlFlowException;

/**
 * Indicates that all file system locks need to get released before the operation can get retried.
 *
 * @author Christian Schlichtherle
 * @see LockController
 */
final class NeedsLockRetryException extends ControlFlowException {

    private static final long serialVersionUID = 0;
    private static final NeedsLockRetryException instance = new NeedsLockRetryException();

    private NeedsLockRetryException() {
        super(false);
    }

    static NeedsLockRetryException apply() {
        return isTraceable() ? new NeedsLockRetryException() : instance;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy