Package ch.bailu.gtk.glib
Interface FileError
public interface FileError
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Permission denied; the file permissions do not
allow the attempted operation.static final int
Resource temporarily unavailable; the call might
work if you try again later.static final int
Bad file descriptor; for example, I/O on a
descriptor that has been closed or reading from a descriptor open
only for writing (or vice versa).static final int
Operation not permitted; only the owner of
the file (or other resource) or processes with special privileges
can perform the operation.static final int
Does not correspond to a UNIX error code; this
is the standard "failed for unspecified reason" error code present
in all #GError error code enumerations.static final int
You passed in a pointer to bad memory.static final int
Interrupted function call; an asynchronous signal
occurred and prevented completion of the call.static final int
Invalid argument.static final int
Input/output error; usually used for physical read
or write errors. i.e. the disk or other physical device hardware
is returning errors.static final int
File is a directory; you cannot open a directory
for writing, or create or remove hard links to it.static final int
Too many levels of symbolic links were encountered
in looking up a file name.static final int
The current process has too many files open and
can't open any more.static final int
Filename too long.static final int
There are too many distinct file openings in the
entire system.static final int
The underlying file system of the specified file
does not support memory mapping.static final int
No such file or directory.static final int
No memory available.static final int
No space left on device; write operation on a
file failed because the disk is full.static final int
Function not implemented; this indicates that
the system is missing some functionality.static final int
A file that isn't a directory was specified when
a directory is required.static final int
No such device or address.static final int
Operation not permitted; only the owner of the
file (or other resource) or processes with special privileges can
perform the operation.static final int
Broken pipe; there is no process reading from the
other end of a pipe.static final int
The directory containing the new link can't be
modified because it's on a read-only file system.static final int
Text file busy.
-
Field Details
-
EXIST
static final int EXISTOperation not permitted; only the owner of
the file (or other resource) or processes with special privileges
can perform the operation.- See Also:
-
ISDIR
static final int ISDIRFile is a directory; you cannot open a directory
for writing, or create or remove hard links to it.- See Also:
-
ACCES
static final int ACCESPermission denied; the file permissions do not
allow the attempted operation.- See Also:
-
NAMETOOLONG
static final int NAMETOOLONGFilename too long.- See Also:
-
NOENT
static final int NOENTNo such file or directory. This is a "file
doesn't exist" error for ordinary files that are referenced in
contexts where they are expected to already exist.- See Also:
-
NOTDIR
static final int NOTDIRA file that isn't a directory was specified when
a directory is required.- See Also:
-
NXIO
static final int NXIONo such device or address. The system tried to
use the device represented by a file you specified, and it
couldn't find the device. This can mean that the device file was
installed incorrectly, or that the physical device is missing or
not correctly attached to the computer.- See Also:
-
NODEV
static final int NODEVThe underlying file system of the specified file
does not support memory mapping.- See Also:
-
ROFS
static final int ROFSThe directory containing the new link can't be
modified because it's on a read-only file system.- See Also:
-
TXTBSY
static final int TXTBSYText file busy.- See Also:
-
FAULT
static final int FAULTYou passed in a pointer to bad memory.
(GLib won't reliably return this, don't pass in pointers to bad
memory.)- See Also:
-
LOOP
static final int LOOPToo many levels of symbolic links were encountered
in looking up a file name. This often indicates a cycle of symbolic
links.- See Also:
-
NOSPC
static final int NOSPCNo space left on device; write operation on a
file failed because the disk is full.- See Also:
-
NOMEM
static final int NOMEMNo memory available. The system cannot allocate
more virtual memory because its capacity is full.- See Also:
-
MFILE
static final int MFILEThe current process has too many files open and
can't open any more. Duplicate descriptors do count toward this
limit.- See Also:
-
NFILE
static final int NFILEThere are too many distinct file openings in the
entire system.- See Also:
-
BADF
static final int BADFBad file descriptor; for example, I/O on a
descriptor that has been closed or reading from a descriptor open
only for writing (or vice versa).- See Also:
-
INVAL
static final int INVALInvalid argument. This is used to indicate
various kinds of problems with passing the wrong argument to a
library function.- See Also:
-
PIPE
static final int PIPEBroken pipe; there is no process reading from the
other end of a pipe. Every library function that returns this
error code also generates a 'SIGPIPE' signal; this signal
terminates the program if not handled or blocked. Thus, your
program will never actually see this code unless it has handled
or blocked 'SIGPIPE'.- See Also:
-
AGAIN
static final int AGAINResource temporarily unavailable; the call might
work if you try again later.- See Also:
-
INTR
static final int INTRInterrupted function call; an asynchronous signal
occurred and prevented completion of the call. When this
happens, you should try the call again.- See Also:
-
IO
static final int IOInput/output error; usually used for physical read
or write errors. i.e. the disk or other physical device hardware
is returning errors.- See Also:
-
PERM
static final int PERMOperation not permitted; only the owner of the
file (or other resource) or processes with special privileges can
perform the operation.- See Also:
-
NOSYS
static final int NOSYSFunction not implemented; this indicates that
the system is missing some functionality.- See Also:
-
FAILED
static final int FAILEDDoes not correspond to a UNIX error code; this
is the standard "failed for unspecified reason" error code present
in all #GError error code enumerations. Returned if no specific
code applies.- See Also:
-