- Alle implementierten Schnittstellen:
Serializable,Comparable<LibcErrorCodes>,Constable
Enum of error codes used in various c libararies.
- Seit:
- v1.0.3 - 2018-03-09
- Autor:
- hypfvieh
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum-Konstanten - Übersicht
Enum-KonstantenEnum-KonstanteBeschreibungArgument list too long.Permission denied.Address already in use.Cannot assign requested address.Advertise error.Address family not supported by protocol.Try again.Operation already in progress.Invalid exchange.Bad file number.File descriptor in bad state.Not a data message.Invalid request descriptor.Invalid request code.Invalid slot.Bad font file format.Device or resource busy.Operation Canceled.No child processes.Channel number out of range.Communication error on send.Software caused connection abort.Connection refused.Connection reset by peer.Resource deadlock would occur.Resource deadlock would occur.Destination address required.Math argument out of domain of func.RFS specific error.Quota exceeded.File exists.Bad address.File too large.Host is down.No route to host.Memory page has hardware error.Identifier removed.Illegal byte sequence.Operation now in progress.Interrupted system call.Invalid argument.I/O error.Transport endpoint is already connected.Is a directory.Is a named type file.Key has expired.Key was rejected by service.Key has been revoked.Level 2 halted.Level 2 not synchronized.Level 3 halted.Level 3 reset.Can not access a needed shared library.Accessing a corrupted shared library.Cannot exec a shared library directly.Attempting to link in too many shared libraries..lib section in a.out corrupted.Link number out of range.Too many symbolic links encountered.Wrong medium type.Too many open files.Too many links.Message too long.Multihop attempted.File name too long.No XENIX semaphores available.Network is down.Network dropped connection because of reset.Network is unreachable.File table overflow.No anode.No buffer space available.No CSI structure available.No data available.No such device.No such file or directory.Exec format error.Required key not available.No record locks available.Link has been severed.No medium found.Out of memory.No message of desired type.Machine is not on the network.Package not installed.Protocol not available.No space left on device.Out of streams resources.Device not a stream.Invalid system call number.Block device required.Transport endpoint is not connected.Not a directory.Directory not empty.Not a XENIX named type file.State not recoverable.Socket operation on non-socket.Not a typewriter.Name not unique on network.No such device or address.Operation not supported on transport endpoint.Value too large for defined data type.Owner died.Operation not permitted.Protocol family not supported.Broken pipe.Protocol error.Protocol not supported.Protocol wrong type for socket.Math result not representable.Remote address changed.Object is remote.Remote I/O error.Interrupted system call should be restarted.Operation not possible due to RF-kill.Read-only file system.Cannot send after transport endpoint shutdown.Socket type not supported.Illegal seek.No such process.Srmount error.Stale file handle.Streams pipe error.Timer expired.Connection timed out.Too many references: cannot splice.Text file busy.Structure needs cleaning.Protocol driver not attached.Too many users.Operation would block.Cross-device link.Exchange full. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic LibcErrorCodeserrorCodeToEnum(int _code) Converts an errorCode to the enum value.intstatic LibcErrorCodesGibt die Enum-Konstante dieser Klasse mit dem angegebenen Namen zurück.static LibcErrorCodes[]values()Gibt ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration zurück.
-
Enum-Konstanten - Details
-
EPERM
Operation not permitted. -
ENOENT
No such file or directory. -
ESRCH
No such process. -
EINTR
Interrupted system call. -
EIO
I/O error. -
ENXIO
No such device or address. -
E2BIG
Argument list too long. -
ENOEXEC
Exec format error. -
EBADF
Bad file number. -
ECHILD
No child processes. -
EAGAIN
Try again. -
ENOMEM
Out of memory. -
EACCES
Permission denied. -
EFAULT
Bad address. -
ENOTBLK
Block device required. -
EBUSY
Device or resource busy. -
EEXIST
File exists. -
EXDEV
Cross-device link. -
ENODEV
No such device. -
ENOTDIR
Not a directory. -
EISDIR
Is a directory. -
EINVAL
Invalid argument. -
ENFILE
File table overflow. -
EMFILE
Too many open files. -
ENOTTY
Not a typewriter. -
ETXTBSY
Text file busy. -
EFBIG
File too large. -
ENOSPC
No space left on device. -
ESPIPE
Illegal seek. -
EROFS
Read-only file system. -
EMLINK
Too many links. -
EPIPE
Broken pipe. -
EDOM
Math argument out of domain of func. -
ERANGE
Math result not representable. -
EDEADLK
Resource deadlock would occur. -
ENAMETOOLONG
File name too long. -
ENOLCK
No record locks available. -
ENOSYS
Invalid system call number. -
ENOTEMPTY
Directory not empty. -
ELOOP
Too many symbolic links encountered. -
EWOULDBLOCK
Operation would block. -
ENOMSG
No message of desired type. -
EIDRM
Identifier removed. -
ECHRNG
Channel number out of range. -
EL2NSYNC
Level 2 not synchronized. -
EL3HLT
Level 3 halted. -
EL3RST
Level 3 reset. -
ELNRNG
Link number out of range. -
EUNATCH
Protocol driver not attached. -
ENOCSI
No CSI structure available. -
EL2HLT
Level 2 halted. -
EBADE
Invalid exchange. -
EBADR
Invalid request descriptor. -
EXFULL
Exchange full. -
ENOANO
No anode. -
EBADRQC
Invalid request code. -
EBADSLT
Invalid slot. -
EDEADLOCK
Resource deadlock would occur. -
EBFONT
Bad font file format. -
ENOSTR
Device not a stream. -
ENODATA
No data available. -
ETIME
Timer expired. -
ENOSR
Out of streams resources. -
ENONET
Machine is not on the network. -
ENOPKG
Package not installed. -
EREMOTE
Object is remote. -
ENOLINK
Link has been severed. -
EADV
Advertise error. -
ESRMNT
Srmount error. -
ECOMM
Communication error on send. -
EPROTO
Protocol error. -
EMULTIHOP
Multihop attempted. -
EDOTDOT
RFS specific error. -
EBADMSG
Not a data message. -
EOVERFLOW
Value too large for defined data type. -
ENOTUNIQ
Name not unique on network. -
EBADFD
File descriptor in bad state. -
EREMCHG
Remote address changed. -
ELIBACC
Can not access a needed shared library. -
ELIBBAD
Accessing a corrupted shared library. -
ELIBSCN
.lib section in a.out corrupted. -
ELIBMAX
Attempting to link in too many shared libraries. -
ELIBEXEC
Cannot exec a shared library directly. -
EILSEQ
Illegal byte sequence. -
ERESTART
Interrupted system call should be restarted. -
ESTRPIPE
Streams pipe error. -
EUSERS
Too many users. -
ENOTSOCK
Socket operation on non-socket. -
EDESTADDRREQ
Destination address required. -
EMSGSIZE
Message too long. -
EPROTOTYPE
Protocol wrong type for socket. -
ENOPROTOOPT
Protocol not available. -
EPROTONOSUPPORT
Protocol not supported. -
ESOCKTNOSUPPORT
Socket type not supported. -
EOPNOTSUPP
Operation not supported on transport endpoint. -
EPFNOSUPPORT
Protocol family not supported. -
EAFNOSUPPORT
Address family not supported by protocol. -
EADDRINUSE
Address already in use. -
EADDRNOTAVAIL
Cannot assign requested address. -
ENETDOWN
Network is down. -
ENETUNREACH
Network is unreachable. -
ENETRESET
Network dropped connection because of reset. -
ECONNABORTED
Software caused connection abort. -
ECONNRESET
Connection reset by peer. -
ENOBUFS
No buffer space available. -
EISCONN
Transport endpoint is already connected. -
ENOTCONN
Transport endpoint is not connected. -
ESHUTDOWN
Cannot send after transport endpoint shutdown. -
ETOOMANYREFS
Too many references: cannot splice. -
ETIMEDOUT
Connection timed out. -
ECONNREFUSED
Connection refused. -
EHOSTDOWN
Host is down. -
EHOSTUNREACH
No route to host. -
EALREADY
Operation already in progress. -
EINPROGRESS
Operation now in progress. -
ESTALE
Stale file handle. -
EUCLEAN
Structure needs cleaning. -
ENOTNAM
Not a XENIX named type file. -
ENAVAIL
No XENIX semaphores available. -
EISNAM
Is a named type file. -
EREMOTEIO
Remote I/O error. -
EDQUOT
Quota exceeded. -
ENOMEDIUM
No medium found. -
EMEDIUMTYPE
Wrong medium type. -
ECANCELED
Operation Canceled. -
ENOKEY
Required key not available. -
EKEYEXPIRED
Key has expired. -
EKEYREVOKED
Key has been revoked. -
EKEYREJECTED
Key was rejected by service. -
EOWNERDEAD
Owner died. -
ENOTRECOVERABLE
State not recoverable. -
ERFKILL
Operation not possible due to RF-kill. -
EHWPOISON
Memory page has hardware error.
-
-
Methodendetails
-
values
Gibt ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration zurück.- Gibt zurück:
- ein Array mit den Konstanten dieser Enum-Klasse in der Reihenfolge ihrer Deklaration
-
valueOf
Gibt die Enum-Konstante dieser Klasse mit dem angegebenen Namen zurück. Die Zeichenfolge muss exakt mit einer ID übereinstimmen, mit der eine Enum-Konstante in dieser Klasse deklariert wird. (Zusätzliche Leerzeichen sind nicht zulässig.)- Parameter:
name- Name der zurückzugebenden Enumerationskonstante.- Gibt zurück:
- Enumerationskonstante mit dem angegebenen Namen
- Löst aus:
IllegalArgumentException- wenn diese Enum-Klasse keine Konstante mit dem angegebenen Namen enthältNullPointerException- wenn das Argument nicht angegeben wird
-
getErrorCode
public int getErrorCode() -
errorCodeToEnum
Converts an errorCode to the enum value. If code is unknown, null is returned. If the code is ambiguous (e.g. EAGAIN/EWOULDBLOCK, EDEADLOCK/EDEADLK) the first match will be returned.- Parameter:
_code- error code- Gibt zurück:
- enum or null if code unknown
-