net.java.truevfs.kernel.impl.NeedsWriteLockException.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of truevfs-kernel-impl Show documentation
Show all versions of truevfs-kernel-impl Show documentation
Implements the API for accessing the federated virtual file system space.
This reference implementation can get overridden by providing another
file system manager factory implementation with a higher priority on
the class path.
/*
* Copyright (C) 2005-2012 Schlichtherle IT Services.
* All rights reserved. Use is subject to license terms.
*/
package net.java.truevfs.kernel.impl
import net.java.truecommons.shed._
/** Indicates that an operation needs to get write locked before it can get
* retried.
*
* @author Christian Schlichtherle
*/
private final class NeedsWriteLockException private ()
extends ControlFlowException(false) with Immutable
private object NeedsWriteLockException {
import ControlFlowException._
private[this] val instance = new NeedsWriteLockException
def apply() = if (isTraceable) new NeedsWriteLockException else instance
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy