| 1 |
// WARNING: This file is autogenerated. DO NOT EDIT! |
| 2 |
// Generated 2018-05-11 03:41:17 +0000 |
| 3 |
package jnr.constants.platform.aix; |
| 4 |
public enum Errno implements jnr.constants.Constant { |
| 5 |
EPERM(1L), |
| 6 |
ENOENT(2L), |
| 7 |
ESRCH(3L), |
| 8 |
EINTR(4L), |
| 9 |
EIO(5L), |
| 10 |
ENXIO(6L), |
| 11 |
E2BIG(7L), |
| 12 |
ENOEXEC(8L), |
| 13 |
EBADF(9L), |
| 14 |
ECHILD(10L), |
| 15 |
EDEADLK(45L), |
| 16 |
ENOMEM(12L), |
| 17 |
EACCES(13L), |
| 18 |
EFAULT(14L), |
| 19 |
ENOTBLK(15L), |
| 20 |
EBUSY(16L), |
| 21 |
EEXIST(17L), |
| 22 |
EXDEV(18L), |
| 23 |
ENODEV(19L), |
| 24 |
ENOTDIR(20L), |
| 25 |
EISDIR(21L), |
| 26 |
EINVAL(22L), |
| 27 |
ENFILE(23L), |
| 28 |
EMFILE(24L), |
| 29 |
ENOTTY(25L), |
| 30 |
ETXTBSY(26L), |
| 31 |
EFBIG(27L), |
| 32 |
ENOSPC(28L), |
| 33 |
ESPIPE(29L), |
| 34 |
EROFS(30L), |
| 35 |
EMLINK(31L), |
| 36 |
EPIPE(32L), |
| 37 |
EDOM(33L), |
| 38 |
ERANGE(34L), |
| 39 |
EWOULDBLOCK(11L), |
| 40 |
EAGAIN(11L), |
| 41 |
EINPROGRESS(55L), |
| 42 |
EALREADY(56L), |
| 43 |
ENOTSOCK(57L), |
| 44 |
EDESTADDRREQ(58L), |
| 45 |
EMSGSIZE(59L), |
| 46 |
EPROTOTYPE(60L), |
| 47 |
ENOPROTOOPT(61L), |
| 48 |
EPROTONOSUPPORT(62L), |
| 49 |
ESOCKTNOSUPPORT(63L), |
| 50 |
EOPNOTSUPP(64L), |
| 51 |
EPFNOSUPPORT(65L), |
| 52 |
EAFNOSUPPORT(66L), |
| 53 |
EADDRINUSE(67L), |
| 54 |
EADDRNOTAVAIL(68L), |
| 55 |
ENETDOWN(69L), |
| 56 |
ENETUNREACH(70L), |
| 57 |
ENETRESET(71L), |
| 58 |
ECONNABORTED(72L), |
| 59 |
ECONNRESET(73L), |
| 60 |
ENOBUFS(74L), |
| 61 |
EISCONN(75L), |
| 62 |
ENOTCONN(76L), |
| 63 |
ESHUTDOWN(77L), |
| 64 |
ETOOMANYREFS(115L), |
| 65 |
ETIMEDOUT(78L), |
| 66 |
ECONNREFUSED(79L), |
| 67 |
ELOOP(85L), |
| 68 |
ENAMETOOLONG(86L), |
| 69 |
EHOSTDOWN(80L), |
| 70 |
EHOSTUNREACH(81L), |
| 71 |
ENOTEMPTY(17L), |
| 72 |
EUSERS(84L), |
| 73 |
EDQUOT(88L), |
| 74 |
ESTALE(52L), |
| 75 |
EREMOTE(93L), |
| 76 |
ENOLCK(49L), |
| 77 |
ENOSYS(109L), |
| 78 |
EOVERFLOW(127L), |
| 79 |
EIDRM(36L), |
| 80 |
ENOMSG(35L), |
| 81 |
EILSEQ(116L), |
| 82 |
EBADMSG(120L), |
| 83 |
EMULTIHOP(125L), |
| 84 |
ENODATA(122L), |
| 85 |
ENOLINK(126L), |
| 86 |
ENOSR(118L), |
| 87 |
ENOSTR(123L), |
| 88 |
EPROTO(121L), |
| 89 |
ETIME(119L); |
| 90 |
private final long value; |
| 91 |
private Errno(long value) { this.value = value; } |
| 92 |
public static final long MIN_VALUE = 1L; |
| 93 |
public static final long MAX_VALUE = 127L; |
| 94 |
|
| 95 |
static final class StringTable { |
| 96 |
public static final java.util.Map<Errno, String> descriptions = generateTable(); |
| 97 |
public static final java.util.Map<Errno, String> generateTable() { |
| 98 |
java.util.Map<Errno, String> map = new java.util.EnumMap<Errno, String>(Errno.class); |
| 99 |
map.put(EPERM, "Not owner"); |
| 100 |
map.put(ENOENT, "No such file or directory"); |
| 101 |
map.put(ESRCH, "No such process"); |
| 102 |
map.put(EINTR, "Interrupted system call"); |
| 103 |
map.put(EIO, "I/O error"); |
| 104 |
map.put(ENXIO, "No such device or address"); |
| 105 |
map.put(E2BIG, "Arg list too long"); |
| 106 |
map.put(ENOEXEC, "Exec format error"); |
| 107 |
map.put(EBADF, "Bad file number"); |
| 108 |
map.put(ECHILD, "No child processes"); |
| 109 |
map.put(EDEADLK, "Deadlock condition if locked"); |
| 110 |
map.put(ENOMEM, "Not enough space"); |
| 111 |
map.put(EACCES, "Permission denied"); |
| 112 |
map.put(EFAULT, "Bad address"); |
| 113 |
map.put(ENOTBLK, "Block device required"); |
| 114 |
map.put(EBUSY, "Device busy"); |
| 115 |
map.put(EEXIST, "File exists"); |
| 116 |
map.put(EXDEV, "Cross-device link"); |
| 117 |
map.put(ENODEV, "No such device"); |
| 118 |
map.put(ENOTDIR, "Not a directory"); |
| 119 |
map.put(EISDIR, "Is a directory"); |
| 120 |
map.put(EINVAL, "Invalid argument"); |
| 121 |
map.put(ENFILE, "File table overflow"); |
| 122 |
map.put(EMFILE, "Too many open files"); |
| 123 |
map.put(ENOTTY, "Not a typewriter"); |
| 124 |
map.put(ETXTBSY, "Text file busy"); |
| 125 |
map.put(EFBIG, "File too large"); |
| 126 |
map.put(ENOSPC, "No space left on device"); |
| 127 |
map.put(ESPIPE, "Illegal seek"); |
| 128 |
map.put(EROFS, "Read-only file system"); |
| 129 |
map.put(EMLINK, "Too many links"); |
| 130 |
map.put(EPIPE, "Broken pipe"); |
| 131 |
map.put(EDOM, "Argument out of domain"); |
| 132 |
map.put(ERANGE, "Result too large"); |
| 133 |
map.put(EWOULDBLOCK, "Resource temporarily unavailable"); |
| 134 |
map.put(EAGAIN, "Resource temporarily unavailable"); |
| 135 |
map.put(EINPROGRESS, "Operation now in progress"); |
| 136 |
map.put(EALREADY, "Operation already in progress"); |
| 137 |
map.put(ENOTSOCK, "Socket operation on non-socket"); |
| 138 |
map.put(EDESTADDRREQ, "Destination address required"); |
| 139 |
map.put(EMSGSIZE, "Message too long"); |
| 140 |
map.put(EPROTOTYPE, "Protocol wrong type for socket"); |
| 141 |
map.put(ENOPROTOOPT, "Protocol not available"); |
| 142 |
map.put(EPROTONOSUPPORT, "Protocol not supported"); |
| 143 |
map.put(ESOCKTNOSUPPORT, "Socket type not supported"); |
| 144 |
map.put(EOPNOTSUPP, "Operation not supported on socket"); |
| 145 |
map.put(EPFNOSUPPORT, "Protocol family not supported"); |
| 146 |
map.put(EAFNOSUPPORT, "Addr family not supported by protocol"); |
| 147 |
map.put(EADDRINUSE, "Address already in use"); |
| 148 |
map.put(EADDRNOTAVAIL, "Can't assign requested address"); |
| 149 |
map.put(ENETDOWN, "Network is down"); |
| 150 |
map.put(ENETUNREACH, "Network is unreachable"); |
| 151 |
map.put(ENETRESET, "Network dropped connection on reset"); |
| 152 |
map.put(ECONNABORTED, "Software caused connection abort"); |
| 153 |
map.put(ECONNRESET, "Connection reset by peer"); |
| 154 |
map.put(ENOBUFS, "No buffer space available"); |
| 155 |
map.put(EISCONN, "Socket is already connected"); |
| 156 |
map.put(ENOTCONN, "Socket is not connected"); |
| 157 |
map.put(ESHUTDOWN, "Can't send after socket shutdown"); |
| 158 |
map.put(ETOOMANYREFS, "Too many references: can't splice"); |
| 159 |
map.put(ETIMEDOUT, "Connection timed out"); |
| 160 |
map.put(ECONNREFUSED, "Connection refused"); |
| 161 |
map.put(ELOOP, "Too many levels of symbolic links"); |
| 162 |
map.put(ENAMETOOLONG, "File name too long"); |
| 163 |
map.put(EHOSTDOWN, "Host is down"); |
| 164 |
map.put(EHOSTUNREACH, "No route to host"); |
| 165 |
map.put(ENOTEMPTY, "File exists"); |
| 166 |
map.put(EUSERS, "Too many users"); |
| 167 |
map.put(EDQUOT, "Disk quota exceeded"); |
| 168 |
map.put(ESTALE, "Missing file or filesystem"); |
| 169 |
map.put(EREMOTE, "Item is not local to host"); |
| 170 |
map.put(ENOLCK, "No locks available"); |
| 171 |
map.put(ENOSYS, "Function not implemented"); |
| 172 |
map.put(EOVERFLOW, "Value too large to be stored in data type"); |
| 173 |
map.put(EIDRM, "Identifier removed"); |
| 174 |
map.put(ENOMSG, "No message of desired type"); |
| 175 |
map.put(EILSEQ, "Invalid wide character"); |
| 176 |
map.put(EBADMSG, "Next message has wrong type"); |
| 177 |
map.put(EMULTIHOP, "Multihop is not allowed"); |
| 178 |
map.put(ENODATA, "No message on stream head read q"); |
| 179 |
map.put(ENOLINK, "The server link has been severed"); |
| 180 |
map.put(ENOSR, "Out of STREAMS resources"); |
| 181 |
map.put(ENOSTR, "fd not associated with a stream"); |
| 182 |
map.put(EPROTO, "Error in protocol"); |
| 183 |
map.put(ETIME, "System call timed out"); |
| 184 |
return map; |
| 185 |
} |
| 186 |
} |
| 187 |
public final String toString() { return StringTable.descriptions.get(this); } |
| 188 |
public final int intValue() { return (int) value; } |
| 189 |
public final long longValue() { return value; } |
| 190 |
public final boolean defined() { return true; } |
| 191 |
} |