Class FileException

  • All Implemented Interfaces:
    Serializable

    public class FileException
    extends AppException
    Signals that an operation involving a file denoted by a specified pathname has failed.
    Since:
    9.3
    Author:
    J. Hermus
    See Also:
    Serialized Form
    • Constructor Detail

      • FileException

        public FileException​(String path,
                             String message)
        Constructs a FileException, in context of the provided file path, with a specified detail message.
        Parameters:
        path - identifier of the file that is the context of the operation that failed (can be null).
        message - the detail message (can be null).
      • FileException

        public FileException​(String path,
                             String message,
                             Throwable cause)
        Constructs a FileException, in context of the provided file path, with a specified detail message and cuase of the exception.
        Parameters:
        path - identifier of the file that is the context of the operation that failed (can be null).
        message - the detail message (can be null).
        cause - the cause of the exception (can be null).