Enum EFileIOErrorCode

java.lang.Object
java.lang.Enum<EFileIOErrorCode>
com.helger.commons.io.file.EFileIOErrorCode
All Implemented Interfaces:
IHasIntID, ISuccessIndicator, Serializable, Comparable<EFileIOErrorCode>, java.lang.constant.Constable

public enum EFileIOErrorCode extends Enum<EFileIOErrorCode> implements ISuccessIndicator, IHasIntID
Represents a set of predefined error codes that can occur in file operations.
Author:
Philip Helger
  • Enum Constant Details

    • NO_ERROR

      public static final EFileIOErrorCode NO_ERROR
      Generic error code: no error.
    • OPERATION_FAILED

      public static final EFileIOErrorCode OPERATION_FAILED
      Generic error code: operation failed but we don't know why.
    • SECURITY_ERROR

      public static final EFileIOErrorCode SECURITY_ERROR
      Generic error code: a SecurityException occurred.
    • SOURCE_DOES_NOT_EXIST

      public static final EFileIOErrorCode SOURCE_DOES_NOT_EXIST
      A source file or directory does not exist.
    • TARGET_ALREADY_EXISTS

      public static final EFileIOErrorCode TARGET_ALREADY_EXISTS
      A destination file or directory already exists.
    • SOURCE_EQUALS_TARGET

      public static final EFileIOErrorCode SOURCE_EQUALS_TARGET
      Source and destination object are identical.
    • TARGET_IS_CHILD_OF_SOURCE

      public static final EFileIOErrorCode TARGET_IS_CHILD_OF_SOURCE
      Avoid recursive dependencies.
    • OBJECT_CANNOT_BE_HANDLED

      public static final EFileIOErrorCode OBJECT_CANNOT_BE_HANDLED
      We stumble across an object that is neither a file nor a directory.
    • OBJECT_HAS_NO_PARENT

      public static final EFileIOErrorCode OBJECT_HAS_NO_PARENT
      An object's parent could not be retrieved.
    • SOURCE_NOT_READABLE

      public static final EFileIOErrorCode SOURCE_NOT_READABLE
      The source object cannot be read.
    • SOURCE_PARENT_NOT_WRITABLE

      public static final EFileIOErrorCode SOURCE_PARENT_NOT_WRITABLE
      The source parent object is read-only (not writable).
    • TARGET_PARENT_NOT_WRITABLE

      public static final EFileIOErrorCode TARGET_PARENT_NOT_WRITABLE
      The target parent object is read-only (not writable).
    • IO_ERROR

      public static final EFileIOErrorCode IO_ERROR
      Generic IO code: an IOException occurred.
  • Method Details