Package org.robovm.apple.foundation
Enum NSPOSIXErrorCode
- All Implemented Interfaces:
Serializable,Comparable<NSPOSIXErrorCode>,NSErrorCode,ValuedEnum
public enum NSPOSIXErrorCode extends Enum<NSPOSIXErrorCode> implements NSErrorCode
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.robovm.rt.bro.ValuedEnum
ValuedEnum.AsLongMarshaler, ValuedEnum.AsMachineSizedSIntMarshaler, ValuedEnum.AsMachineSizedUIntMarshaler, ValuedEnum.AsSignedByteMarshaler, ValuedEnum.AsSignedIntMarshaler, ValuedEnum.AsSignedShortMarshaler, ValuedEnum.AsUnsignedByteMarshaler, ValuedEnum.AsUnsignedIntMarshaler, ValuedEnum.AsUnsignedShortMarshaler -
Enum Constant Summary
Enum Constants Enum Constant Description E2BIGArgument list too long.EACCESPermission denied.EADDRINUSEAddress already in use.EADDRNOTAVAILCan't assign requested address.EAFNOSUPPORTAddress family not supported by protocol family.EAGAINResource temporarily unavailable.EALREADYOperation already in progress.EAUTHAuthentication error.EBADARCHBad CPU type in executable.EBADEXECBad executable.EBADFBad file descriptor.EBADMACHOMalformed Macho file.EBADMSGBad message.EBADRPCRPC struct is bad.EBUSYDevice / Resource busy.ECANCELEDOperation canceled.ECHILDNo child processes.ECONNABORTEDSoftware caused connection abort.ECONNREFUSEDConnection refused.ECONNRESETConnection reset by peer.EDEADLKResource deadlock avoided.EDESTADDRREQDestination address required.EDEVERRDevice error, e.g.EDOMNumerical argument out of domain.EDQUOTDisc quota exceeded.EEXISTFile exists.EFAULTBad address.EFBIGFile too large.EFTYPEInappropriate file type or format.EHOSTDOWNHost is down.EHOSTUNREACHNo route to host.EIDRMIdentifier removed.EILSEQIllegal byte sequence.EINPROGRESSOperation now in progress.EINTRInterrupted system call.EINVALInvalid argument.EIOInput/output error.EISCONNSocket is already connected.EISDIRIs a directory.ELASTMust be equal largest errno.ELOOPToo many levels of symbolic links.EMFILEToo many open files.EMLINKToo many links.EMSGSIZEMessage too long.EMULTIHOPReserved.ENAMETOOLONGFile name too long.ENEEDAUTHNeed authenticator.ENETDOWNNetwork is down.ENETRESETNetwork dropped connection on reset.ENETUNREACHNetwork is unreachable.ENFILEToo many open files in system.ENOATTRAttribute not found.ENOBUFSNo buffer space available.ENODATANo message available on STREAM.ENODEVOperation not supported by device.ENOENTNo such file or directory.ENOEXECExec format error.ENOLCKNo locks available.ENOLINKReserved.ENOMEMCannot allocate memory.ENOMSGNo message of desired type.ENOPOLICYNo such policy registered.ENOPROTOOPTProtocol not available.ENOSPCNo space left on device.ENOSRNo STREAM resources.ENOSTRNot a STREAM.ENOSYSFunction not implemented.ENOTBLKBlock device required.ENOTCONNSocket is not connected.ENOTDIRNot a directory.ENOTEMPTYDirectory not empty.ENOTRECOVERABLEState not recoverable.ENOTSOCKSocket operation on non-socket.ENOTSUPOperation not supported.ENOTTYInappropriate ioctl for device.ENXIODevice not configured.EOPNOTSUPPOperation not supported on socket.EOVERFLOWValue too large to be stored in data type.EOWNERDEADPrevious owner died.EPERMOperation not permitted.EPFNOSUPPORTProtocol family not supported.EPIPEBroken pipe.EPROCLIMToo many processes.EPROCUNAVAILBad procedure for program.EPROGMISMATCHProgram version wrong.EPROGUNAVAILRPC prog.EPROTOProtocol error.EPROTONOSUPPORTProtocol not supported.EPROTOTYPEProtocol wrong type for socket.EPWROFFDevice power is off.EQFULLInterface output queue is full.ERANGEResult too large.EREMOTEToo many levels of remote in path.EROFSRead-only file system.ERPCMISMATCHRPC version wrong.ESHLIBVERSShared library version mismatch.ESHUTDOWNCan't send after socket shutdown.ESOCKTNOSUPPORTSocket type not supported.ESPIPEIllegal seek.ESRCHNo such process.ESTALEStale NFS file handle.ETIMESTREAM ioctl timeout.ETIMEDOUTOperation timed out.ETOOMANYREFSToo many references: can't splice.ETXTBSYText file busy.EUSERSToo many users.EWOULDBLOCKOperation would block.EXDEVCross-device link. -
Method Summary
Modifier and Type Method Description longvalue()static NSPOSIXErrorCodevalueOf(long n)Returns the enum constant of this type with the specified name.static NSPOSIXErrorCodevalueOf(String name)Returns the enum constant of this type with the specified name.static NSPOSIXErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
EPERM
Operation not permitted. -
ENOENT
No such file or directory. -
ESRCH
No such process. -
EINTR
Interrupted system call. -
EIO
Input/output error. -
ENXIO
Device not configured. -
E2BIG
Argument list too long. -
ENOEXEC
Exec format error. -
EBADF
Bad file descriptor. -
ECHILD
No child processes. -
EDEADLK
Resource deadlock avoided. -
ENOMEM
Cannot allocate memory. -
EACCES
Permission denied. -
EFAULT
Bad address. -
ENOTBLK
Block device required. -
EBUSY
Device / Resource busy. -
EEXIST
File exists. -
EXDEV
Cross-device link. -
ENODEV
Operation not supported by device. -
ENOTDIR
Not a directory. -
EISDIR
Is a directory. -
EINVAL
Invalid argument. -
ENFILE
Too many open files in system. -
EMFILE
Too many open files. -
ENOTTY
Inappropriate ioctl for device. -
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
Numerical argument out of domain. -
ERANGE
Result too large. -
EAGAIN
Resource temporarily unavailable. -
EWOULDBLOCK
Operation would block. -
EINPROGRESS
Operation now in progress. -
EALREADY
Operation already in progress. -
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. -
ENOTSUP
Operation not supported. -
EPFNOSUPPORT
Protocol family not supported. -
EAFNOSUPPORT
Address family not supported by protocol family. -
EADDRINUSE
Address already in use. -
EADDRNOTAVAIL
Can't assign requested address. -
ENETDOWN
Network is down. -
ENETUNREACH
Network is unreachable. -
ENETRESET
Network dropped connection on reset. -
ECONNABORTED
Software caused connection abort. -
ECONNRESET
Connection reset by peer. -
ENOBUFS
No buffer space available. -
EISCONN
Socket is already connected. -
ENOTCONN
Socket is not connected. -
ESHUTDOWN
Can't send after socket shutdown. -
ETOOMANYREFS
Too many references: can't splice. -
ETIMEDOUT
Operation timed out. -
ECONNREFUSED
Connection refused. -
ELOOP
Too many levels of symbolic links. -
ENAMETOOLONG
File name too long. -
EHOSTDOWN
Host is down. -
EHOSTUNREACH
No route to host. -
ENOTEMPTY
Directory not empty. -
EPROCLIM
Too many processes. -
EUSERS
Too many users. -
EDQUOT
Disc quota exceeded. -
ESTALE
Stale NFS file handle. -
EREMOTE
Too many levels of remote in path. -
EBADRPC
RPC struct is bad. -
ERPCMISMATCH
RPC version wrong. -
EPROGUNAVAIL
RPC prog. not avail. -
EPROGMISMATCH
Program version wrong. -
EPROCUNAVAIL
Bad procedure for program. -
ENOLCK
No locks available. -
ENOSYS
Function not implemented. -
EFTYPE
Inappropriate file type or format. -
EAUTH
Authentication error. -
ENEEDAUTH
Need authenticator. -
EPWROFF
Device power is off. -
EDEVERR
Device error, e.g. paper out. -
EOVERFLOW
Value too large to be stored in data type. -
EBADEXEC
Bad executable. -
EBADARCH
Bad CPU type in executable. -
ESHLIBVERS
Shared library version mismatch. -
EBADMACHO
Malformed Macho file. -
ECANCELED
Operation canceled. -
EIDRM
Identifier removed. -
ENOMSG
No message of desired type. -
EILSEQ
Illegal byte sequence. -
ENOATTR
Attribute not found. -
EBADMSG
Bad message. -
EMULTIHOP
Reserved. -
ENODATA
No message available on STREAM. -
ENOLINK
Reserved. -
ENOSR
No STREAM resources. -
ENOSTR
Not a STREAM. -
EPROTO
Protocol error. -
ETIME
STREAM ioctl timeout. -
EOPNOTSUPP
Operation not supported on socket. -
ENOPOLICY
No such policy registered. -
ENOTRECOVERABLE
State not recoverable. -
EOWNERDEAD
Previous owner died. -
EQFULL
Interface output queue is full. -
ELAST
Must be equal largest errno.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
value
public long value()- Specified by:
valuein interfaceValuedEnum
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
n- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-