Interface IOErrorEnum


public interface IOErrorEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The requested address is already in use.
    static final int
    File is already mounted.
    static final int
    Broken pipe.
    static final int
    File is busy.
    static final int
    Operation was cancelled.
    static final int
    Backup couldn't be created.
    static final int
    File was closed.
    static final int
    Connection closed by peer.
    static final int
    Connection refused.
    static final int
    A remote object generated an error that
    doesn't correspond to a locally registered #GError error
    domain.
    static final int
    File already exists.
    static final int
    Generic error condition for when an operation fails
    and no more specific #GIOErrorEnum value is defined.
    static final int
    Operation failed and a helper program has
    already interacted with the user.
    static final int
    Filename is too many characters.
    static final int
    Host couldn't be found (remote operations).
    static final int
    Host unreachable.
    static final int
    Invalid argument.
    static final int
    The input data was invalid.
    static final int
    Filename is invalid or contains invalid characters.
    static final int
    File is a directory.
    static final int
    Message too large.
    static final int
    Network unreachable.
    static final int
    No space left on drive.
    static final int
    No such device found.
    static final int
    Transport endpoint is not connected.
    static final int
    File is not a directory.
    static final int
    File is a directory that isn't empty.
    static final int
    File not found.
    static final int
    The object has not been initialized.
    static final int
    File cannot be mounted.
    static final int
    File isn't mounted.
    static final int
    File is not a regular file.
    static final int
    Operation (or one of its parameters) not supported
    static final int
    File is not a symbolic link.
    static final int
    Need more input to finish operation.
    static final int
    Operations are still pending.
    static final int
    Permission denied.
    static final int
    Proxy authentication failed.
    static final int
    Connection to proxy server failed.
    static final int
    Proxy server needs authentication.
    static final int
    Proxy connection is not allowed by ruleset.
    static final int
    File is read only.
    static final int
    Operation timed out.
    static final int
    File contains too many symbolic links.
    static final int
    The current process has too many files
    open and can't open any more.
    static final int
    Operation would block.
    static final int
    Operation would merge files.
    static final int
    Operation would be recursive.
    static final int
    File's Entity Tag was incorrect.
  • Field Details

    • FAILED

      static final int FAILED
      Generic error condition for when an operation fails
      and no more specific #GIOErrorEnum value is defined.
      See Also:
    • NOT_FOUND

      static final int NOT_FOUND
      File not found.
      See Also:
    • EXISTS

      static final int EXISTS
      File already exists.
      See Also:
    • IS_DIRECTORY

      static final int IS_DIRECTORY
      File is a directory.
      See Also:
    • NOT_DIRECTORY

      static final int NOT_DIRECTORY
      File is not a directory.
      See Also:
    • NOT_EMPTY

      static final int NOT_EMPTY
      File is a directory that isn't empty.
      See Also:
    • NOT_REGULAR_FILE

      static final int NOT_REGULAR_FILE
      File is not a regular file.
      See Also:
    • NOT_MOUNTABLE_FILE

      static final int NOT_MOUNTABLE_FILE
      File cannot be mounted.
      See Also:
    • FILENAME_TOO_LONG

      static final int FILENAME_TOO_LONG
      Filename is too many characters.
      See Also:
    • INVALID_FILENAME

      static final int INVALID_FILENAME
      Filename is invalid or contains invalid characters.
      See Also:
    • NO_SPACE

      static final int NO_SPACE
      No space left on drive.
      See Also:
    • INVALID_ARGUMENT

      static final int INVALID_ARGUMENT
      Invalid argument.
      See Also:
    • PERMISSION_DENIED

      static final int PERMISSION_DENIED
      Permission denied.
      See Also:
    • NOT_SUPPORTED

      static final int NOT_SUPPORTED
      Operation (or one of its parameters) not supported
      See Also:
    • NOT_MOUNTED

      static final int NOT_MOUNTED
      File isn't mounted.
      See Also:
    • ALREADY_MOUNTED

      static final int ALREADY_MOUNTED
      File is already mounted.
      See Also:
    • CLOSED

      static final int CLOSED
      File was closed.
      See Also:
    • CANCELLED

      static final int CANCELLED
      Operation was cancelled. See #GCancellable.
      See Also:
    • PENDING

      static final int PENDING
      Operations are still pending.
      See Also:
    • READ_ONLY

      static final int READ_ONLY
      File is read only.
      See Also:
    • CANT_CREATE_BACKUP

      static final int CANT_CREATE_BACKUP
      Backup couldn't be created.
      See Also:
    • WRONG_ETAG

      static final int WRONG_ETAG
      File's Entity Tag was incorrect.
      See Also:
    • TIMED_OUT

      static final int TIMED_OUT
      Operation timed out.
      See Also:
    • WOULD_RECURSE

      static final int WOULD_RECURSE
      Operation would be recursive.
      See Also:
    • BUSY

      static final int BUSY
      File is busy.
      See Also:
    • WOULD_BLOCK

      static final int WOULD_BLOCK
      Operation would block.
      See Also:
    • HOST_NOT_FOUND

      static final int HOST_NOT_FOUND
      Host couldn't be found (remote operations).
      See Also:
    • WOULD_MERGE

      static final int WOULD_MERGE
      Operation would merge files.
      See Also:
    • FAILED_HANDLED

      static final int FAILED_HANDLED
      Operation failed and a helper program has
      already interacted with the user. Do not display any error dialog.
      See Also:
    • TOO_MANY_OPEN_FILES

      static final int TOO_MANY_OPEN_FILES
      The current process has too many files
      open and can't open any more. Duplicate descriptors do count toward
      this limit. Since 2.20
      See Also:
    • NOT_INITIALIZED

      static final int NOT_INITIALIZED
      The object has not been initialized. Since 2.22
      See Also:
    • ADDRESS_IN_USE

      static final int ADDRESS_IN_USE
      The requested address is already in use. Since 2.22
      See Also:
    • PARTIAL_INPUT

      static final int PARTIAL_INPUT
      Need more input to finish operation. Since 2.24
      See Also:
    • INVALID_DATA

      static final int INVALID_DATA
      The input data was invalid. Since 2.24
      See Also:
    • DBUS_ERROR

      static final int DBUS_ERROR
      A remote object generated an error that
      doesn't correspond to a locally registered #GError error
      domain. Use g_dbus_error_get_remote_error() to extract the D-Bus
      error name and g_dbus_error_strip_remote_error() to fix up the
      message so it matches what was received on the wire. Since 2.26.
      See Also:
    • HOST_UNREACHABLE

      static final int HOST_UNREACHABLE
      Host unreachable. Since 2.26
      See Also:
    • NETWORK_UNREACHABLE

      static final int NETWORK_UNREACHABLE
      Network unreachable. Since 2.26
      See Also:
    • CONNECTION_REFUSED

      static final int CONNECTION_REFUSED
      Connection refused. Since 2.26
      See Also:
    • PROXY_FAILED

      static final int PROXY_FAILED
      Connection to proxy server failed. Since 2.26
      See Also:
    • PROXY_AUTH_FAILED

      static final int PROXY_AUTH_FAILED
      Proxy authentication failed. Since 2.26
      See Also:
    • PROXY_NEED_AUTH

      static final int PROXY_NEED_AUTH
      Proxy server needs authentication. Since 2.26
      See Also:
    • PROXY_NOT_ALLOWED

      static final int PROXY_NOT_ALLOWED
      Proxy connection is not allowed by ruleset.
      Since 2.26
      See Also:
    • BROKEN_PIPE

      static final int BROKEN_PIPE
      Broken pipe. Since 2.36
      See Also:
    • CONNECTION_CLOSED

      static final int CONNECTION_CLOSED
      Connection closed by peer. Note that this
      is the same code as %G_IO_ERROR_BROKEN_PIPE; before 2.44 some
      "connection closed" errors returned %G_IO_ERROR_BROKEN_PIPE, but others
      returned %G_IO_ERROR_FAILED. Now they should all return the same
      value, which has this more logical name. Since 2.44.
      See Also:
    • NOT_CONNECTED

      static final int NOT_CONNECTED
      Transport endpoint is not connected. Since 2.44
      See Also:
    • MESSAGE_TOO_LARGE

      static final int MESSAGE_TOO_LARGE
      Message too large. Since 2.48.
      See Also:
    • NO_SUCH_DEVICE

      static final int NO_SUCH_DEVICE
      No such device found. Since 2.74
      See Also: