- java.lang.Object
-
- de.ibapl.jnhw.isoc.Errno
-
- de.ibapl.jnhw.posix.Errno
-
@Include("#include <errno.h>") public final class Errno extends Errno
Wrapper around the<errno.h>header. See specs at: errno.h - system error numbers.- Author:
- aploese
-
-
Field Summary
Fields Modifier and Type Field Description static intE2BIGPOSIX: Argument list too long.static intEACCESPOSIX: Permission denied.static intEADDRINUSEPOSIX: Address in use.static intEADDRNOTAVAILPOSIX: Address not available.static IntDefineEADVNon POSIX: Advertise error.static intEAFNOSUPPORTPOSIX: Address family not supported.static intEAGAINPOSIX: Resource unavailable, try again (may be the same value as [EWOULDBLOCK]).static intEALREADYPOSIX: Connection already in progress.static IntDefineEBADELinux: Invalid exchange.static intEBADFPOSIX: Bad file descriptor.static IntDefineEBADFDLinux: File descriptor in bad state.static intEBADMSGPOSIX: Bad message.static IntDefineEBADRLinux: Invalid request descriptor.static IntDefineEBADRQCLinux: Invalid request code.static IntDefineEBADSLTLinux: Invalid slot.static IntDefineEBFONTLinux: Bad font file formatstatic intEBUSYPOSIX Device or resource busy.static intECANCELEDPOSIX: Operation canceled.static intECHILDPOSIX: No child processes.static IntDefineECHRNGLinux: Channel number out of range.static IntDefineECOMMLinux: Communication error on send.static intECONNABORTEDPOSIX: Connection aborted.static intECONNREFUSEDPOSIX: Connection refused.static intECONNRESETPOSIX: Connection reset.static intEDEADLKPOSIX: Resource deadlock would occur.static IntDefineEDEADLOCKLinux: @see(EDEADLK)static intEDESTADDRREQPOSIX: Destination address required.static IntDefineEDOTDOTLinux: RFS specific error.static intEDQUOTPOSIX: Reserved.static intEEXISTPOSIX: File exists.static intEFAULTPOSIX: Bad address.static intEFBIGPOSIX: File too large.static intEHOSTDOWNNon POSIX: Host is down.static intEHOSTUNREACHPOSIX: Host is unreachable.static IntDefineEHWPOISONLinux: Memory page has hardware error.static intEIDRMPOSIX: Identifier removed.static intEINPROGRESSPOSIX: Operation in progress.static intEINTRPOSIX: Interrupted function.static intEINVALPOSIX: Invalid argument.static intEIOPOSIX: I/O error.static intEISCONNPOSIX: Socket is connected.static intEISDIRPOSIX: Is a directory.static IntDefineEISNAMLinux: Is a named type file.static IntDefineEKEYEXPIREDLinux: Key has expired.static IntDefineEKEYREJECTEDLinux: Key was rejected by service.static IntDefineEKEYREVOKEDLinux: Key has been revoked.static IntDefineEL2HLTLinux: evel 2 halted.static IntDefineEL2NSYNCLinux: Level 2 not synchronized.static IntDefineEL3HLTLinux: Level 3 halted.static IntDefineEL3RSTLinux: Level 3 reset.static IntDefineELIBACCLinux: Can not access a needed shared library.static IntDefineELIBBADLinux: Accessing a corrupted shared library.static IntDefineELIBEXECLinux: Cannot exec a shared library directly.static IntDefineELIBMAXLinux: Attempting to link in too many shared libraries.static IntDefineELIBSCNLinux: .lib section in a.out corrupted.static IntDefineELNRNGLinux: Link number out of range.static intELOOPPOSIX: Too many levels of symbolic links.static IntDefineEMEDIUMTYPELinux: Wrong medium type.static intEMFILEPOSIX: File descriptor value too large.static intEMLINKPOSIX: Too many links.static intEMSGSIZEPOSIX: Message too large.static IntDefineEMULTIHOPPOSIX: Reserved.static intENAMETOOLONGPOSIX: Filename too long.static IntDefineENAVAILLinux: No XENIX semaphores available.static intENETDOWNPOSIX: Network is down.static intENETRESETPOSIX: Connection aborted by network.static intENETUNREACHPOSIX: Network unreachable.static intENFILEPOSIX: Too many files open in system.static IntDefineENOANOLinux: No anode.static intENOBUFSPOSIX: No buffer space available.static IntDefineENOCSILinux: No CSI structure available.static IntDefineENODATAPOSIX.XSI: No message is available on the STREAM head read queue.static intENODEVPOSIX: No such device.static intENOENTPOSIX: No such file or directory.static intENOEXECPOSIX: Executable file format error.static IntDefineENOKEYLinux: Required key not availablestatic intENOLCKPOSIX: No locks available.static IntDefineENOLINKPOSIX: Reserved.static IntDefineENOMEDIUMLinux: No medium found.static intENOMEMPOSIX: Not enough space.static intENOMSGPOSIX: No message of the desired type.static IntDefineENONETLinux: Machine is not on the network.static IntDefineENOPKGLinux: Package not installed.static intENOPROTOOPTPOSIX: Protocol not available.static intENOSPCPOSIX: No space left on device.static IntDefineENOSRPOSIX.XSI: No STREAM resources.static IntDefineENOSTRPOSIX.XSI: Not a STREAM.static intENOSYSPOSIX: Functionality not supported.static intENOTBLKNon POSIX: Block device required.static intENOTCONNPOSIX: The socket is not connected.static intENOTDIRPOSIX: Not a directory or a symbolic link to a directory.static intENOTEMPTYPOSIX: Directory not empty.static IntDefineENOTNAMLinux: Not a XENIX named type file.static intENOTRECOVERABLEPOSIX: State not recoverable.static intENOTSOCKPOSIX: Not a socket.static intENOTSUPNon POSIX: Not supported (may be the same value as [@see EOPNOTSUPP]).static intENOTTYPOSIX: Inappropriate I/O control operation.static IntDefineENOTUNIQLinux: Name not unique on network.static intENXIOPOSIX: No such device or address.static intEOPNOTSUPPPOSIX: Operation not supported on socket (may be the same value as [@see ENOTSUP]).static intEOVERFLOWPOSIX: Value too large to be stored in data type.static intEOWNERDEADPOSIX: Previous owner died.static intEPERMPOSIX: Operation not permitted.static intEPFNOSUPPORTNon POSIX: Protocol family not supported.static intEPIPEPOSIX: Broken pipe.static intEPROTOPOSIX: Protocol error.static intEPROTONOSUPPORTPOSIX: Protocol not supported.static intEPROTOTYPEPOSIX: Protocol wrong type for socket.static IntDefineEREMCHGLinux: Remote address changed.static intEREMOTENon POSIX: Object is remotestatic IntDefineEREMOTEIOLinux: Remote I/O error.static IntDefineERESTARTLinux: Interrupted system call should be restarted.static IntDefineERFKILLLinux: Operation not possible due to RF-kill.static intEROFSPOSIX: Read-only file system.static intESHUTDOWNNon POSIX: Cannot send after transport endpoint shutdown.static intESOCKTNOSUPPORTNon POSIX: Socket type not supportedstatic intESPIPEPOSIX: Invalid seek.static intESRCHPOSIX: No such process.static IntDefineESRMNTLinux: Srmount error.static intESTALEPOSIX: Reserved.static IntDefineESTRPIPELinux: Streams pipe error.static IntDefineETIMEPOSIX: Stream @see ioctl_H.ioctl() timeout.static intETIMEDOUTPOSIX: Connection timed out.static intETOOMANYREFSNon POSIX: Too many references: cannot splice.static intETXTBSYPOSIX: Text file busy.static IntDefineEUCLEANLinux: Structure needs cleaning.static IntDefineEUNATCHLinux: Protocol driver not attached.static intEUSERSNon POSIX: Too many users.static intEWOULDBLOCKPOSIX: Operation would block (may be the same value as [@see EAGAIN]).static intEXDEVPOSIX: Cross-device link.static IntDefineEXFULLLinux: Exchange full.-
Fields inherited from class de.ibapl.jnhw.isoc.Errno
EDOM, EILSEQ, ERANGE, HAVE_ERRNO_H
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedErrno()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetErrnoSymbol(int errno)Translate the native errno to its symbolic constant name.
-
-
-
Field Detail
-
E2BIG
@Define public static final int E2BIG
POSIX: Argument list too long.
-
EACCES
@Define public static final int EACCES
POSIX: Permission denied.
-
EADDRINUSE
@Define public static final int EADDRINUSE
POSIX: Address in use.
-
EADDRNOTAVAIL
@Define public static final int EADDRNOTAVAIL
POSIX: Address not available.
-
EAFNOSUPPORT
@Define public static final int EAFNOSUPPORT
POSIX: Address family not supported.
-
EAGAIN
@Define public static final int EAGAIN
POSIX: Resource unavailable, try again (may be the same value as [EWOULDBLOCK]).
-
EALREADY
@Define public static final int EALREADY
POSIX: Connection already in progress.
-
EBADF
@Define public static final int EBADF
POSIX: Bad file descriptor.
-
EBADMSG
@Define public static final int EBADMSG
POSIX: Bad message.
-
EBUSY
@Define public static final int EBUSY
POSIX Device or resource busy.
-
ECANCELED
@Define public static final int ECANCELED
POSIX: Operation canceled.
-
ECHILD
@Define public static final int ECHILD
POSIX: No child processes.
-
ECONNABORTED
@Define public static final int ECONNABORTED
POSIX: Connection aborted.
-
ECONNREFUSED
@Define public static final int ECONNREFUSED
POSIX: Connection refused.
-
ECONNRESET
@Define public static final int ECONNRESET
POSIX: Connection reset.
-
EDEADLK
@Define public static final int EDEADLK
POSIX: Resource deadlock would occur.
-
EDESTADDRREQ
@Define public static final int EDESTADDRREQ
POSIX: Destination address required.
-
EDQUOT
@Define public static final int EDQUOT
POSIX: Reserved.
-
EEXIST
@Define public static final int EEXIST
POSIX: File exists.
-
EFAULT
@Define public static final int EFAULT
POSIX: Bad address.
-
EFBIG
@Define public static final int EFBIG
POSIX: File too large.
-
EHOSTDOWN
@Define public static final int EHOSTDOWN
Non POSIX: Host is down.
-
EHOSTUNREACH
@Define public static final int EHOSTUNREACH
POSIX: Host is unreachable.
-
EIDRM
@Define public static final int EIDRM
POSIX: Identifier removed.
-
EINPROGRESS
@Define public static final int EINPROGRESS
POSIX: Operation in progress.
-
EINTR
@Define public static final int EINTR
POSIX: Interrupted function.
-
EINVAL
@Define public static final int EINVAL
POSIX: Invalid argument.
-
EIO
@Define public static final int EIO
POSIX: I/O error.
-
EISCONN
@Define public static final int EISCONN
POSIX: Socket is connected.
-
EISDIR
@Define public static final int EISDIR
POSIX: Is a directory.
-
ELIBACC
@Define public static final IntDefine ELIBACC
Linux: Can not access a needed shared library.
-
ELIBEXEC
@Define public static final IntDefine ELIBEXEC
Linux: Cannot exec a shared library directly.
-
ELIBMAX
@Define public static final IntDefine ELIBMAX
Linux: Attempting to link in too many shared libraries.
-
ELOOP
@Define public static final int ELOOP
POSIX: Too many levels of symbolic links.
-
EMFILE
@Define public static final int EMFILE
POSIX: File descriptor value too large.
-
EMLINK
@Define public static final int EMLINK
POSIX: Too many links.
-
EMSGSIZE
@Define public static final int EMSGSIZE
POSIX: Message too large.
-
ENAMETOOLONG
@Define public static final int ENAMETOOLONG
POSIX: Filename too long.
-
ENETDOWN
@Define public static final int ENETDOWN
POSIX: Network is down.
-
ENETRESET
@Define public static final int ENETRESET
POSIX: Connection aborted by network.
-
ENETUNREACH
@Define public static final int ENETUNREACH
POSIX: Network unreachable.
-
ENFILE
@Define public static final int ENFILE
POSIX: Too many files open in system.
-
ENOBUFS
@Define public static final int ENOBUFS
POSIX: No buffer space available.
-
ENODATA
@Define public static final IntDefine ENODATA
POSIX.XSI: No message is available on the STREAM head read queue.
-
ENODEV
@Define public static final int ENODEV
POSIX: No such device.
-
ENOENT
@Define public static final int ENOENT
POSIX: No such file or directory.
-
ENOEXEC
@Define public static final int ENOEXEC
POSIX: Executable file format error.
-
ENOLCK
@Define public static final int ENOLCK
POSIX: No locks available.
-
ENOMEM
@Define public static final int ENOMEM
POSIX: Not enough space.
-
ENOMSG
@Define public static final int ENOMSG
POSIX: No message of the desired type.
-
ENOPROTOOPT
@Define public static final int ENOPROTOOPT
POSIX: Protocol not available.
-
ENOSPC
@Define public static final int ENOSPC
POSIX: No space left on device.
-
ENOSYS
@Define public static final int ENOSYS
POSIX: Functionality not supported.
-
ENOTBLK
@Define public static final int ENOTBLK
Non POSIX: Block device required.
-
ENOTCONN
@Define public static final int ENOTCONN
POSIX: The socket is not connected.
-
ENOTDIR
@Define public static final int ENOTDIR
POSIX: Not a directory or a symbolic link to a directory.
-
ENOTEMPTY
@Define public static final int ENOTEMPTY
POSIX: Directory not empty.
-
ENOTRECOVERABLE
@Define public static final int ENOTRECOVERABLE
POSIX: State not recoverable.
-
ENOTSOCK
@Define public static final int ENOTSOCK
POSIX: Not a socket.
-
ENOTSUP
@Define public static final int ENOTSUP
Non POSIX: Not supported (may be the same value as [@see EOPNOTSUPP]).
-
ENOTTY
@Define public static final int ENOTTY
POSIX: Inappropriate I/O control operation.
-
ENXIO
@Define public static final int ENXIO
POSIX: No such device or address.
-
EOPNOTSUPP
@Define public static final int EOPNOTSUPP
POSIX: Operation not supported on socket (may be the same value as [@see ENOTSUP]).
-
EOVERFLOW
@Define public static final int EOVERFLOW
POSIX: Value too large to be stored in data type.
-
EOWNERDEAD
@Define public static final int EOWNERDEAD
POSIX: Previous owner died.
-
EPERM
@Define public static final int EPERM
POSIX: Operation not permitted.
-
EPFNOSUPPORT
@Define public static final int EPFNOSUPPORT
Non POSIX: Protocol family not supported.
-
EPIPE
@Define public static final int EPIPE
POSIX: Broken pipe.
-
EPROTO
@Define public static final int EPROTO
POSIX: Protocol error.
-
EPROTONOSUPPORT
@Define public static final int EPROTONOSUPPORT
POSIX: Protocol not supported.
-
EPROTOTYPE
@Define public static final int EPROTOTYPE
POSIX: Protocol wrong type for socket.
-
EREMOTE
@Define public static final int EREMOTE
Non POSIX: Object is remote
-
ERESTART
@Define public static final IntDefine ERESTART
Linux: Interrupted system call should be restarted.
-
EROFS
@Define public static final int EROFS
POSIX: Read-only file system.
-
ESHUTDOWN
@Define public static final int ESHUTDOWN
Non POSIX: Cannot send after transport endpoint shutdown.
-
ESOCKTNOSUPPORT
@Define public static final int ESOCKTNOSUPPORT
Non POSIX: Socket type not supported
-
ESPIPE
@Define public static final int ESPIPE
POSIX: Invalid seek.
-
ESRCH
@Define public static final int ESRCH
POSIX: No such process.
-
ESTALE
@Define public static final int ESTALE
POSIX: Reserved.
-
ETIMEDOUT
@Define public static final int ETIMEDOUT
POSIX: Connection timed out.
-
ETOOMANYREFS
@Define public static final int ETOOMANYREFS
Non POSIX: Too many references: cannot splice.
-
ETXTBSY
@Define public static final int ETXTBSY
POSIX: Text file busy.
-
EUSERS
@Define public static final int EUSERS
Non POSIX: Too many users.
-
EWOULDBLOCK
@Define public static final int EWOULDBLOCK
POSIX: Operation would block (may be the same value as [@see EAGAIN]).
-
EXDEV
@Define public static final int EXDEV
POSIX: Cross-device link.
-
-
Method Detail
-
getErrnoSymbol
public static final String getErrnoSymbol(int errno)
Translate the native errno to its symbolic constant name.- Parameters:
errno-- Returns:
-
-