Class FSError

    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String path  
    • Constructor Summary

      Constructors 
      Constructor Description
      FSError​(java.lang.String message, java.lang.Throwable cause, java.nio.file.Path path)  
      FSError​(java.lang.String message, java.lang.Throwable cause, File path)  
      FSError​(java.lang.Throwable cause, java.nio.file.Path path)  
      FSError​(java.lang.Throwable cause, File path)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static FSError findNested​(java.lang.Throwable top)
      Unwraps the Throwable cause chain looking for an FSError instance
      java.lang.String toString()  
      • Methods inherited from class java.lang.Throwable

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

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

      • path

        public final java.lang.String path
    • Constructor Detail

      • FSError

        public FSError​(java.lang.Throwable cause,
                       File path)
      • FSError

        public FSError​(java.lang.Throwable cause,
                       java.nio.file.Path path)
      • FSError

        public FSError​(java.lang.String message,
                       java.lang.Throwable cause,
                       File path)
      • FSError

        public FSError​(java.lang.String message,
                       java.lang.Throwable cause,
                       java.nio.file.Path path)
    • Method Detail

      • findNested

        public static FSError findNested​(java.lang.Throwable top)
        Unwraps the Throwable cause chain looking for an FSError instance
        Parameters:
        top - the top-level Throwable to unwrap
        Returns:
        FSError if found any, null otherwise
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable