Class ErrorHandler.UNREADABLE_FILE

  • Enclosing class:
    ErrorHandler

    public static class ErrorHandler.UNREADABLE_FILE
    extends ErrorHandler.EXCEPTION_EVENT
    Similar to ErrorHandler.UNKNOWN_FORMAT UNREADABLE_FILE specifies that the file which is being accessed is unreadable (does not exist or canRead is false), so if the user is specifically saying that the file should be imported, there may be some underlying issue.
    • Field Detail

      • filename

        public final java.lang.String filename
      • source

        public final java.lang.Object source
    • Constructor Detail

      • UNREADABLE_FILE

        public UNREADABLE_FILE​(java.lang.String filename,
                               java.lang.Exception exception,
                               java.lang.Object source)
        Parameters:
        filename - the filename
        exception - the exception
        source - the source
    • Method Detail

      • toLog

        public java.lang.String toLog()
        Overrides:
        toLog in class ImportEvent