Package org.robovm.apple.foundation
Enum NSPOSIXErrorCode
- java.lang.Object
-
- java.lang.Enum<NSPOSIXErrorCode>
-
- org.robovm.apple.foundation.NSPOSIXErrorCode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<NSPOSIXErrorCode>
,NSErrorCode
,org.robovm.rt.bro.ValuedEnum
public enum NSPOSIXErrorCode extends java.lang.Enum<NSPOSIXErrorCode> implements NSErrorCode
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.robovm.rt.bro.ValuedEnum
org.robovm.rt.bro.ValuedEnum.AsLongMarshaler, org.robovm.rt.bro.ValuedEnum.AsMachineSizedSIntMarshaler, org.robovm.rt.bro.ValuedEnum.AsMachineSizedUIntMarshaler, org.robovm.rt.bro.ValuedEnum.AsSignedByteMarshaler, org.robovm.rt.bro.ValuedEnum.AsSignedIntMarshaler, org.robovm.rt.bro.ValuedEnum.AsSignedShortMarshaler, org.robovm.rt.bro.ValuedEnum.AsUnsignedByteMarshaler, org.robovm.rt.bro.ValuedEnum.AsUnsignedIntMarshaler, org.robovm.rt.bro.ValuedEnum.AsUnsignedShortMarshaler
-
-
Enum Constant Summary
Enum Constants Enum Constant Description E2BIG
Argument list too long.EACCES
Permission denied.EADDRINUSE
Address already in use.EADDRNOTAVAIL
Can't assign requested address.EAFNOSUPPORT
Address family not supported by protocol family.EAGAIN
Resource temporarily unavailable.EALREADY
Operation already in progress.EAUTH
Authentication error.EBADARCH
Bad CPU type in executable.EBADEXEC
Bad executable.EBADF
Bad file descriptor.EBADMACHO
Malformed Macho file.EBADMSG
Bad message.EBADRPC
RPC struct is bad.EBUSY
Device / Resource busy.ECANCELED
Operation canceled.ECHILD
No child processes.ECONNABORTED
Software caused connection abort.ECONNREFUSED
Connection refused.ECONNRESET
Connection reset by peer.EDEADLK
Resource deadlock avoided.EDESTADDRREQ
Destination address required.EDEVERR
Device error, e.g. paper out.EDOM
Numerical argument out of domain.EDQUOT
Disc quota exceeded.EEXIST
File exists.EFAULT
Bad address.EFBIG
File too large.EFTYPE
Inappropriate file type or format.EHOSTDOWN
Host is down.EHOSTUNREACH
No route to host.EIDRM
Identifier removed.EILSEQ
Illegal byte sequence.EINPROGRESS
Operation now in progress.EINTR
Interrupted system call.EINVAL
Invalid argument.EIO
Input/output error.EISCONN
Socket is already connected.EISDIR
Is a directory.ELAST
Must be equal largest errno.ELOOP
Too many levels of symbolic links.EMFILE
Too many open files.EMLINK
Too many links.EMSGSIZE
Message too long.EMULTIHOP
Reserved.ENAMETOOLONG
File name too long.ENEEDAUTH
Need authenticator.ENETDOWN
Network is down.ENETRESET
Network dropped connection on reset.ENETUNREACH
Network is unreachable.ENFILE
Too many open files in system.ENOATTR
Attribute not found.ENOBUFS
No buffer space available.ENODATA
No message available on STREAM.ENODEV
Operation not supported by device.ENOENT
No such file or directory.ENOEXEC
Exec format error.ENOLCK
No locks available.ENOLINK
Reserved.ENOMEM
Cannot allocate memory.ENOMSG
No message of desired type.ENOPOLICY
No such policy registered.ENOPROTOOPT
Protocol not available.ENOSPC
No space left on device.ENOSR
No STREAM resources.ENOSTR
Not a STREAM.ENOSYS
Function not implemented.ENOTBLK
Block device required.ENOTCONN
Socket is not connected.ENOTDIR
Not a directory.ENOTEMPTY
Directory not empty.ENOTRECOVERABLE
State not recoverable.ENOTSOCK
Socket operation on non-socket.ENOTSUP
Operation not supported.ENOTTY
Inappropriate ioctl for device.ENXIO
Device not configured.EOPNOTSUPP
Operation not supported on socket.EOVERFLOW
Value too large to be stored in data type.EOWNERDEAD
Previous owner died.EPERM
Operation not permitted.EPFNOSUPPORT
Protocol family not supported.EPIPE
Broken pipe.EPROCLIM
Too many processes.EPROCUNAVAIL
Bad procedure for program.EPROGMISMATCH
Program version wrong.EPROGUNAVAIL
RPC prog. not avail.EPROTO
Protocol error.EPROTONOSUPPORT
Protocol not supported.EPROTOTYPE
Protocol wrong type for socket.EPWROFF
Device power is off.EQFULL
Interface output queue is full.ERANGE
Result too large.EREMOTE
Too many levels of remote in path.EROFS
Read-only file system.ERPCMISMATCH
RPC version wrong.ESHLIBVERS
Shared library version mismatch.ESHUTDOWN
Can't send after socket shutdown.ESOCKTNOSUPPORT
Socket type not supported.ESPIPE
Illegal seek.ESRCH
No such process.ESTALE
Stale NFS file handle.ETIME
STREAM ioctl timeout.ETIMEDOUT
Operation timed out.ETOOMANYREFS
Too many references: can't splice.ETXTBSY
Text file busy.EUSERS
Too many users.EWOULDBLOCK
Operation would block.EXDEV
Cross-device link.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description long
value()
static NSPOSIXErrorCode
valueOf(long n)
Returns the enum constant of this type with the specified name.static NSPOSIXErrorCode
valueOf(java.lang.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 Detail
-
EPERM
public static final NSPOSIXErrorCode EPERM
Operation not permitted.
-
ENOENT
public static final NSPOSIXErrorCode ENOENT
No such file or directory.
-
ESRCH
public static final NSPOSIXErrorCode ESRCH
No such process.
-
EINTR
public static final NSPOSIXErrorCode EINTR
Interrupted system call.
-
EIO
public static final NSPOSIXErrorCode EIO
Input/output error.
-
ENXIO
public static final NSPOSIXErrorCode ENXIO
Device not configured.
-
E2BIG
public static final NSPOSIXErrorCode E2BIG
Argument list too long.
-
ENOEXEC
public static final NSPOSIXErrorCode ENOEXEC
Exec format error.
-
EBADF
public static final NSPOSIXErrorCode EBADF
Bad file descriptor.
-
ECHILD
public static final NSPOSIXErrorCode ECHILD
No child processes.
-
EDEADLK
public static final NSPOSIXErrorCode EDEADLK
Resource deadlock avoided.
-
ENOMEM
public static final NSPOSIXErrorCode ENOMEM
Cannot allocate memory.
-
EACCES
public static final NSPOSIXErrorCode EACCES
Permission denied.
-
EFAULT
public static final NSPOSIXErrorCode EFAULT
Bad address.
-
ENOTBLK
public static final NSPOSIXErrorCode ENOTBLK
Block device required.
-
EBUSY
public static final NSPOSIXErrorCode EBUSY
Device / Resource busy.
-
EEXIST
public static final NSPOSIXErrorCode EEXIST
File exists.
-
EXDEV
public static final NSPOSIXErrorCode EXDEV
Cross-device link.
-
ENODEV
public static final NSPOSIXErrorCode ENODEV
Operation not supported by device.
-
ENOTDIR
public static final NSPOSIXErrorCode ENOTDIR
Not a directory.
-
EISDIR
public static final NSPOSIXErrorCode EISDIR
Is a directory.
-
EINVAL
public static final NSPOSIXErrorCode EINVAL
Invalid argument.
-
ENFILE
public static final NSPOSIXErrorCode ENFILE
Too many open files in system.
-
EMFILE
public static final NSPOSIXErrorCode EMFILE
Too many open files.
-
ENOTTY
public static final NSPOSIXErrorCode ENOTTY
Inappropriate ioctl for device.
-
ETXTBSY
public static final NSPOSIXErrorCode ETXTBSY
Text file busy.
-
EFBIG
public static final NSPOSIXErrorCode EFBIG
File too large.
-
ENOSPC
public static final NSPOSIXErrorCode ENOSPC
No space left on device.
-
ESPIPE
public static final NSPOSIXErrorCode ESPIPE
Illegal seek.
-
EROFS
public static final NSPOSIXErrorCode EROFS
Read-only file system.
-
EMLINK
public static final NSPOSIXErrorCode EMLINK
Too many links.
-
EPIPE
public static final NSPOSIXErrorCode EPIPE
Broken pipe.
-
EDOM
public static final NSPOSIXErrorCode EDOM
Numerical argument out of domain.
-
ERANGE
public static final NSPOSIXErrorCode ERANGE
Result too large.
-
EAGAIN
public static final NSPOSIXErrorCode EAGAIN
Resource temporarily unavailable.
-
EWOULDBLOCK
public static final NSPOSIXErrorCode EWOULDBLOCK
Operation would block.
-
EINPROGRESS
public static final NSPOSIXErrorCode EINPROGRESS
Operation now in progress.
-
EALREADY
public static final NSPOSIXErrorCode EALREADY
Operation already in progress.
-
ENOTSOCK
public static final NSPOSIXErrorCode ENOTSOCK
Socket operation on non-socket.
-
EDESTADDRREQ
public static final NSPOSIXErrorCode EDESTADDRREQ
Destination address required.
-
EMSGSIZE
public static final NSPOSIXErrorCode EMSGSIZE
Message too long.
-
EPROTOTYPE
public static final NSPOSIXErrorCode EPROTOTYPE
Protocol wrong type for socket.
-
ENOPROTOOPT
public static final NSPOSIXErrorCode ENOPROTOOPT
Protocol not available.
-
EPROTONOSUPPORT
public static final NSPOSIXErrorCode EPROTONOSUPPORT
Protocol not supported.
-
ESOCKTNOSUPPORT
public static final NSPOSIXErrorCode ESOCKTNOSUPPORT
Socket type not supported.
-
ENOTSUP
public static final NSPOSIXErrorCode ENOTSUP
Operation not supported.
-
EPFNOSUPPORT
public static final NSPOSIXErrorCode EPFNOSUPPORT
Protocol family not supported.
-
EAFNOSUPPORT
public static final NSPOSIXErrorCode EAFNOSUPPORT
Address family not supported by protocol family.
-
EADDRINUSE
public static final NSPOSIXErrorCode EADDRINUSE
Address already in use.
-
EADDRNOTAVAIL
public static final NSPOSIXErrorCode EADDRNOTAVAIL
Can't assign requested address.
-
ENETDOWN
public static final NSPOSIXErrorCode ENETDOWN
Network is down.
-
ENETUNREACH
public static final NSPOSIXErrorCode ENETUNREACH
Network is unreachable.
-
ENETRESET
public static final NSPOSIXErrorCode ENETRESET
Network dropped connection on reset.
-
ECONNABORTED
public static final NSPOSIXErrorCode ECONNABORTED
Software caused connection abort.
-
ECONNRESET
public static final NSPOSIXErrorCode ECONNRESET
Connection reset by peer.
-
ENOBUFS
public static final NSPOSIXErrorCode ENOBUFS
No buffer space available.
-
EISCONN
public static final NSPOSIXErrorCode EISCONN
Socket is already connected.
-
ENOTCONN
public static final NSPOSIXErrorCode ENOTCONN
Socket is not connected.
-
ESHUTDOWN
public static final NSPOSIXErrorCode ESHUTDOWN
Can't send after socket shutdown.
-
ETOOMANYREFS
public static final NSPOSIXErrorCode ETOOMANYREFS
Too many references: can't splice.
-
ETIMEDOUT
public static final NSPOSIXErrorCode ETIMEDOUT
Operation timed out.
-
ECONNREFUSED
public static final NSPOSIXErrorCode ECONNREFUSED
Connection refused.
-
ELOOP
public static final NSPOSIXErrorCode ELOOP
Too many levels of symbolic links.
-
ENAMETOOLONG
public static final NSPOSIXErrorCode ENAMETOOLONG
File name too long.
-
EHOSTDOWN
public static final NSPOSIXErrorCode EHOSTDOWN
Host is down.
-
EHOSTUNREACH
public static final NSPOSIXErrorCode EHOSTUNREACH
No route to host.
-
ENOTEMPTY
public static final NSPOSIXErrorCode ENOTEMPTY
Directory not empty.
-
EPROCLIM
public static final NSPOSIXErrorCode EPROCLIM
Too many processes.
-
EUSERS
public static final NSPOSIXErrorCode EUSERS
Too many users.
-
EDQUOT
public static final NSPOSIXErrorCode EDQUOT
Disc quota exceeded.
-
ESTALE
public static final NSPOSIXErrorCode ESTALE
Stale NFS file handle.
-
EREMOTE
public static final NSPOSIXErrorCode EREMOTE
Too many levels of remote in path.
-
EBADRPC
public static final NSPOSIXErrorCode EBADRPC
RPC struct is bad.
-
ERPCMISMATCH
public static final NSPOSIXErrorCode ERPCMISMATCH
RPC version wrong.
-
EPROGUNAVAIL
public static final NSPOSIXErrorCode EPROGUNAVAIL
RPC prog. not avail.
-
EPROGMISMATCH
public static final NSPOSIXErrorCode EPROGMISMATCH
Program version wrong.
-
EPROCUNAVAIL
public static final NSPOSIXErrorCode EPROCUNAVAIL
Bad procedure for program.
-
ENOLCK
public static final NSPOSIXErrorCode ENOLCK
No locks available.
-
ENOSYS
public static final NSPOSIXErrorCode ENOSYS
Function not implemented.
-
EFTYPE
public static final NSPOSIXErrorCode EFTYPE
Inappropriate file type or format.
-
EAUTH
public static final NSPOSIXErrorCode EAUTH
Authentication error.
-
ENEEDAUTH
public static final NSPOSIXErrorCode ENEEDAUTH
Need authenticator.
-
EPWROFF
public static final NSPOSIXErrorCode EPWROFF
Device power is off.
-
EDEVERR
public static final NSPOSIXErrorCode EDEVERR
Device error, e.g. paper out.
-
EOVERFLOW
public static final NSPOSIXErrorCode EOVERFLOW
Value too large to be stored in data type.
-
EBADEXEC
public static final NSPOSIXErrorCode EBADEXEC
Bad executable.
-
EBADARCH
public static final NSPOSIXErrorCode EBADARCH
Bad CPU type in executable.
-
ESHLIBVERS
public static final NSPOSIXErrorCode ESHLIBVERS
Shared library version mismatch.
-
EBADMACHO
public static final NSPOSIXErrorCode EBADMACHO
Malformed Macho file.
-
ECANCELED
public static final NSPOSIXErrorCode ECANCELED
Operation canceled.
-
EIDRM
public static final NSPOSIXErrorCode EIDRM
Identifier removed.
-
ENOMSG
public static final NSPOSIXErrorCode ENOMSG
No message of desired type.
-
EILSEQ
public static final NSPOSIXErrorCode EILSEQ
Illegal byte sequence.
-
ENOATTR
public static final NSPOSIXErrorCode ENOATTR
Attribute not found.
-
EBADMSG
public static final NSPOSIXErrorCode EBADMSG
Bad message.
-
EMULTIHOP
public static final NSPOSIXErrorCode EMULTIHOP
Reserved.
-
ENODATA
public static final NSPOSIXErrorCode ENODATA
No message available on STREAM.
-
ENOLINK
public static final NSPOSIXErrorCode ENOLINK
Reserved.
-
ENOSR
public static final NSPOSIXErrorCode ENOSR
No STREAM resources.
-
ENOSTR
public static final NSPOSIXErrorCode ENOSTR
Not a STREAM.
-
EPROTO
public static final NSPOSIXErrorCode EPROTO
Protocol error.
-
ETIME
public static final NSPOSIXErrorCode ETIME
STREAM ioctl timeout.
-
EOPNOTSUPP
public static final NSPOSIXErrorCode EOPNOTSUPP
Operation not supported on socket.
-
ENOPOLICY
public static final NSPOSIXErrorCode ENOPOLICY
No such policy registered.
-
ENOTRECOVERABLE
public static final NSPOSIXErrorCode ENOTRECOVERABLE
State not recoverable.
-
EOWNERDEAD
public static final NSPOSIXErrorCode EOWNERDEAD
Previous owner died.
-
EQFULL
public static final NSPOSIXErrorCode EQFULL
Interface output queue is full.
-
ELAST
public static final NSPOSIXErrorCode ELAST
Must be equal largest errno.
-
-
Method Detail
-
values
public static NSPOSIXErrorCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NSPOSIXErrorCode c : NSPOSIXErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NSPOSIXErrorCode valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
value
public long value()
- Specified by:
value
in interfaceorg.robovm.rt.bro.ValuedEnum
-
valueOf
public static NSPOSIXErrorCode valueOf(long n)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-