Class IsonFileAlreadyLocked

  • All Implemented Interfaces:
    java.io.Serializable

    public class IsonFileAlreadyLocked
    extends java.lang.Exception
    Thrown if a repository file is already locked during an attempt to lock the file.

    You may read the file path and user that locked the file from the exception.

    Since:
    4.0.0
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      IsonFileAlreadyLocked​(java.lang.String path, java.lang.String lockedBy)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getLockedBy()  
      java.lang.String getPath()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • IsonFileAlreadyLocked

        public IsonFileAlreadyLocked​(java.lang.String path,
                                     java.lang.String lockedBy)
        Parameters:
        path -
        lockedBy -
    • Method Detail

      • getLockedBy

        public java.lang.String getLockedBy()
        Returns:
        user that locked the file
      • getPath

        public java.lang.String getPath()
        Returns:
        file path