jnr.constants.platform.openbsd.Errno Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jnr-constants Show documentation
Show all versions of jnr-constants Show documentation
A set of platform constants (e.g. errno values)
// WARNING: This file is autogenerated. DO NOT EDIT!
// Generated 2018-09-20 14:44:22 -0600
package jnr.constants.platform.openbsd;
public enum Errno implements jnr.constants.Constant {
EPERM(1L),
ENOENT(2L),
ESRCH(3L),
EINTR(4L),
EIO(5L),
ENXIO(6L),
E2BIG(7L),
ENOEXEC(8L),
EBADF(9L),
ECHILD(10L),
EDEADLK(11L),
ENOMEM(12L),
EACCES(13L),
EFAULT(14L),
ENOTBLK(15L),
EBUSY(16L),
EEXIST(17L),
EXDEV(18L),
ENODEV(19L),
ENOTDIR(20L),
EISDIR(21L),
EINVAL(22L),
ENFILE(23L),
EMFILE(24L),
ENOTTY(25L),
ETXTBSY(26L),
EFBIG(27L),
ENOSPC(28L),
ESPIPE(29L),
EROFS(30L),
EMLINK(31L),
EPIPE(32L),
EDOM(33L),
ERANGE(34L),
EWOULDBLOCK(35L),
EAGAIN(35L),
EINPROGRESS(36L),
EALREADY(37L),
ENOTSOCK(38L),
EDESTADDRREQ(39L),
EMSGSIZE(40L),
EPROTOTYPE(41L),
ENOPROTOOPT(42L),
EPROTONOSUPPORT(43L),
ESOCKTNOSUPPORT(44L),
EOPNOTSUPP(45L),
EPFNOSUPPORT(46L),
EAFNOSUPPORT(47L),
EADDRINUSE(48L),
EADDRNOTAVAIL(49L),
ENETDOWN(50L),
ENETUNREACH(51L),
ENETRESET(52L),
ECONNABORTED(53L),
ECONNRESET(54L),
ENOBUFS(55L),
EISCONN(56L),
ENOTCONN(57L),
ESHUTDOWN(58L),
ETOOMANYREFS(59L),
ETIMEDOUT(60L),
ECONNREFUSED(61L),
ELOOP(62L),
ENAMETOOLONG(63L),
EHOSTDOWN(64L),
EHOSTUNREACH(65L),
ENOTEMPTY(66L),
EUSERS(68L),
EDQUOT(69L),
ESTALE(70L),
EREMOTE(71L),
ENOLCK(77L),
ENOSYS(78L),
EOVERFLOW(87L),
EIDRM(89L),
ENOMSG(90L),
EILSEQ(84L),
EBADMSG(92L),
// EMULTIHOP not defined
// ENODATA not defined
// ENOLINK not defined
// ENOSR not defined
// ENOSTR not defined
EPROTO(95L),
// ETIME not defined
// ECHRNG not defined
// EL2NSYNC not defined
// EL3HLT not defined
// EL3RST not defined
// ELNRNG not defined
// EUNATCH not defined
// ENOCSI not defined
// EL2HLT not defined
// EBADE not defined
// EBADR not defined
// EXFULL not defined
// ENOANO not defined
// EBADRQC not defined
// EBADSLT not defined
// EDEADLOCK not defined
// EBFONT not defined
// ENONET not defined
// ENOPKG not defined
// EADV not defined
// ESRMNT not defined
// ECOMM not defined
// EDOTDOT not defined
// ENOTUNIQ not defined
// EBADFD not defined
// EREMCHG not defined
// ELIBACC not defined
// ELIBBAD not defined
// ELIBSCN not defined
// ELIBMAX not defined
// ELIBEXEC not defined
// ERESTART not defined
// ESTRPIPE not defined
// EUCLEAN not defined
// ENOTNAM not defined
// ENAVAIL not defined
// EISNAM not defined
// EREMOTEIO not defined
ECANCELED(88L),
// EKEYEXPIRED not defined
// EKEYREJECTED not defined
// EKEYREVOKED not defined
EMEDIUMTYPE(86L),
// ENOKEY not defined
ENOMEDIUM(85L),
ENOTRECOVERABLE(93L),
EOWNERDEAD(94L),
// ERFKILL not defined
EAUTH(80L),
EBADRPC(72L),
// EDOOFUS not defined
EFTYPE(79L),
ENEEDAUTH(81L),
ENOATTR(83L),
ENOTSUP(91L),
EPROCLIM(67L),
EPROCUNAVAIL(76L),
EPROGMISMATCH(75L),
EPROGUNAVAIL(74L),
ERPCMISMATCH(73L),
EIPSEC(82L);
// EHWPOISON not defined
// ECAPMODE not defined
// ENOTCAPABLE not defined
private final long value;
private Errno(long value) { this.value = value; }
public static final long MIN_VALUE = 1L;
public static final long MAX_VALUE = 95L;
static final class StringTable {
public static final java.util.Map descriptions = generateTable();
public static final java.util.Map generateTable() {
java.util.Map map = new java.util.EnumMap(Errno.class);
map.put(EPERM, "Operation not permitted");
map.put(ENOENT, "No such file or directory");
map.put(ESRCH, "No such process");
map.put(EINTR, "Interrupted system call");
map.put(EIO, "Input/output error");
map.put(ENXIO, "Device not configured");
map.put(E2BIG, "Argument list too long");
map.put(ENOEXEC, "Exec format error");
map.put(EBADF, "Bad file descriptor");
map.put(ECHILD, "No child processes");
map.put(EDEADLK, "Resource deadlock avoided");
map.put(ENOMEM, "Cannot allocate memory");
map.put(EACCES, "Permission denied");
map.put(EFAULT, "Bad address");
map.put(ENOTBLK, "Block device required");
map.put(EBUSY, "Device busy");
map.put(EEXIST, "File exists");
map.put(EXDEV, "Cross-device link");
map.put(ENODEV, "Operation not supported by device");
map.put(ENOTDIR, "Not a directory");
map.put(EISDIR, "Is a directory");
map.put(EINVAL, "Invalid argument");
map.put(ENFILE, "Too many open files in system");
map.put(EMFILE, "Too many open files");
map.put(ENOTTY, "Inappropriate ioctl for device");
map.put(ETXTBSY, "Text file busy");
map.put(EFBIG, "File too large");
map.put(ENOSPC, "No space left on device");
map.put(ESPIPE, "Illegal seek");
map.put(EROFS, "Read-only file system");
map.put(EMLINK, "Too many links");
map.put(EPIPE, "Broken pipe");
map.put(EDOM, "Numerical argument out of domain");
map.put(ERANGE, "Result too large");
map.put(EWOULDBLOCK, "Resource temporarily unavailable");
map.put(EAGAIN, "Resource temporarily unavailable");
map.put(EINPROGRESS, "Operation now in progress");
map.put(EALREADY, "Operation already in progress");
map.put(ENOTSOCK, "Socket operation on non-socket");
map.put(EDESTADDRREQ, "Destination address required");
map.put(EMSGSIZE, "Message too long");
map.put(EPROTOTYPE, "Protocol wrong type for socket");
map.put(ENOPROTOOPT, "Protocol not available");
map.put(EPROTONOSUPPORT, "Protocol not supported");
map.put(ESOCKTNOSUPPORT, "Socket type not supported");
map.put(EOPNOTSUPP, "Operation not supported");
map.put(EPFNOSUPPORT, "Protocol family not supported");
map.put(EAFNOSUPPORT, "Address family not supported by protocol family");
map.put(EADDRINUSE, "Address already in use");
map.put(EADDRNOTAVAIL, "Can't assign requested address");
map.put(ENETDOWN, "Network is down");
map.put(ENETUNREACH, "Network is unreachable");
map.put(ENETRESET, "Network dropped connection on reset");
map.put(ECONNABORTED, "Software caused connection abort");
map.put(ECONNRESET, "Connection reset by peer");
map.put(ENOBUFS, "No buffer space available");
map.put(EISCONN, "Socket is already connected");
map.put(ENOTCONN, "Socket is not connected");
map.put(ESHUTDOWN, "Can't send after socket shutdown");
map.put(ETOOMANYREFS, "Too many references: can't splice");
map.put(ETIMEDOUT, "Operation timed out");
map.put(ECONNREFUSED, "Connection refused");
map.put(ELOOP, "Too many levels of symbolic links");
map.put(ENAMETOOLONG, "File name too long");
map.put(EHOSTDOWN, "Host is down");
map.put(EHOSTUNREACH, "No route to host");
map.put(ENOTEMPTY, "Directory not empty");
map.put(EUSERS, "Too many users");
map.put(EDQUOT, "Disk quota exceeded");
map.put(ESTALE, "Stale NFS file handle");
map.put(EREMOTE, "Too many levels of remote in path");
map.put(ENOLCK, "No locks available");
map.put(ENOSYS, "Function not implemented");
map.put(EOVERFLOW, "Value too large to be stored in data type");
map.put(EIDRM, "Identifier removed");
map.put(ENOMSG, "No message of desired type");
map.put(EILSEQ, "Illegal byte sequence");
map.put(EBADMSG, "Bad message");
map.put(EPROTO, "Protocol error");
map.put(ECANCELED, "Operation canceled");
map.put(EMEDIUMTYPE, "Wrong medium type");
map.put(ENOMEDIUM, "No medium found");
map.put(ENOTRECOVERABLE, "State not recoverable");
map.put(EOWNERDEAD, "Previous owner died");
map.put(EAUTH, "Authentication error");
map.put(EBADRPC, "RPC struct is bad");
map.put(EFTYPE, "Inappropriate file type or format");
map.put(ENEEDAUTH, "Need authenticator");
map.put(ENOATTR, "Attribute not found");
map.put(ENOTSUP, "Not supported");
map.put(EPROCLIM, "Too many processes");
map.put(EPROCUNAVAIL, "Bad procedure for program");
map.put(EPROGMISMATCH, "Program version wrong");
map.put(EPROGUNAVAIL, "RPC program not available");
map.put(ERPCMISMATCH, "RPC version wrong");
map.put(EIPSEC, "IPsec processing failure");
return map;
}
}
public final String toString() { return StringTable.descriptions.get(this); }
public final int value() { return (int) value; }
public final int intValue() { return (int) value; }
public final long longValue() { return value; }
public final boolean defined() { return true; }
}