Class DirCacheNameConflictException

  • All Implemented Interfaces:
    java.io.Serializable

    public class DirCacheNameConflictException
    extends java.lang.IllegalStateException
    Thrown by DirCache code when entries overlap in impossible way.
    Since:
    4.2
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String path1  
      private java.lang.String path2  
      private static long serialVersionUID  
    • Constructor Summary

      Constructors 
      Constructor Description
      DirCacheNameConflictException​(java.lang.String path1, java.lang.String path2)
      Construct an exception for a specific path.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getPath1()
      Get one of the paths that has a conflict
      java.lang.String getPath2()
      Get another path that has a conflict
      • 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
    • Field Detail

      • path1

        private final java.lang.String path1
      • path2

        private final java.lang.String path2
    • Constructor Detail

      • DirCacheNameConflictException

        public DirCacheNameConflictException​(java.lang.String path1,
                                             java.lang.String path2)
        Construct an exception for a specific path.
        Parameters:
        path1 - one path that conflicts.
        path2 - another path that conflicts.
    • Method Detail

      • getPath1

        public java.lang.String getPath1()
        Get one of the paths that has a conflict
        Returns:
        one of the paths that has a conflict
      • getPath2

        public java.lang.String getPath2()
        Get another path that has a conflict
        Returns:
        another path that has a conflict