Package org.gnome.glib
Enum Class SpawnError
- All Implemented Interfaces:
Enumeration
,Serializable
,Comparable<SpawnError>
,Constable
@Generated("io.github.jwharm.JavaGI")
public enum SpawnError
extends Enum<SpawnError>
implements Enumeration
Error codes returned by spawning processes.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionexecv() returnedEACCES
Changing to working directory failed.Some other fatal failure,error->message
should explain.Fork failed due to lack of memory.execv() returnedEINVAL
execv() returnedEIO
execv() returnedEISDIR
execv() returnedELIBBAD
execv() returnedELOOP
execv() returnedEMFILE
execv() returnedENAMETOOLONG
execv() returnedENFILE
execv() returnedENOENT
execv() returnedENOEXEC
execv() returnedENOMEM
execv() returnedENOTDIR
execv() returnedEPERM
Read or select on pipes failed.execv() returnedE2BIG
execv() returnedETXTBUSY
-
Field Summary
Modifier and TypeFieldDescriptionstatic final SpawnError
deprecated alias forTOO_BIG
(deprecated since GLib 2.32) -
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
Get the numeric value of this enumstatic SpawnError
of
(int value) Create a new SpawnError for the provided valuestatic SpawnError
Returns the enum constant of this class with the specified name.static SpawnError[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FORK
Fork failed due to lack of memory. -
READ
Read or select on pipes failed. -
CHDIR
Changing to working directory failed. -
ACCES
execv() returnedEACCES
-
PERM
execv() returnedEPERM
-
TOO_BIG
execv() returnedE2BIG
-
NOEXEC
execv() returnedENOEXEC
-
NAMETOOLONG
execv() returnedENAMETOOLONG
-
NOENT
execv() returnedENOENT
-
NOMEM
execv() returnedENOMEM
-
NOTDIR
execv() returnedENOTDIR
-
LOOP
execv() returnedELOOP
-
TXTBUSY
execv() returnedETXTBUSY
-
IO
execv() returnedEIO
-
NFILE
execv() returnedENFILE
-
MFILE
execv() returnedEMFILE
-
INVAL
execv() returnedEINVAL
-
ISDIR
execv() returnedEISDIR
-
LIBBAD
execv() returnedELIBBAD
-
FAILED
Some other fatal failure,error->message
should explain.
-
-
Field Details
-
_2BIG
deprecated alias forTOO_BIG
(deprecated since GLib 2.32)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
of
Create a new SpawnError for the provided value- Parameters:
value
- the enum value- Returns:
- the enum for the provided value
-
getValue
public int getValue()Get the numeric value of this enum- Specified by:
getValue
in interfaceEnumeration
- Returns:
- the enum value
-