#include <errno.h>#include <j2k/Fred/Standard.hpp>Go to the source code of this file.
|
|
Definition at line 29 of file JError.hpp. |
|
|
Definition at line 31 of file JError.hpp. |
|
|
Definition at line 30 of file JError.hpp. |
|
|
Definition at line 28 of file JError.hpp. |
|
|
Definition at line 17 of file JError.hpp. 00018 {
00019 None = 0, // No Error Occured
00020 Recovered = 1, // Normal recovery procedure applied
00021 Recoverable = 2, // Retry later to recover (e.g. Disk Ejected)
00022 Error = 3, // Normal Error to be handled
00023 FatalError = 4, // Fatal Error to be handled
00024 NonRecoverable = 5 // Fatal Error, clean up and exit the program.
00025 };
|
|
|
Definition at line 33 of file JError.hpp. 00033 {
00034 NoError = 0, /* EOK No error */
00035
00036 NotOwner = 1, /* EPERM Not owner */
00037
00038 NoEntry = 2, /* ENOENT No such file or directory */
00039 NoProcess = 3, /* ESRCH No such process */
00040
00041 IntSysCall = 4, /* EINTR Interrupted system call */
00042 IOError = 5, /* EIO I/O error */
00043 DevNotExist = 6, /* ENXIO No such device or address */
00044 ArglistToBig = 7, /* E2BIG Arg list too big */
00045 ExecFormatErr = 8, /* ENOEXEC Exec format error */
00046 BadFileNumber = 9, /* EBADF Bad file number */
00047 NoChildProcess = 10, /* ECHILD No child processes */
00048 ResUnavailTryAgain = 11, /* EAGAIN Resource temporarily unavailable, try again */
00049
00050 NoMemory = 12, /* ENOMEM Not enough space */
00051
00052 AccessDenied = 13, /* EACCES Permission denied */
00053 BadAddress = 14, /* EFAULT Bad address */
00054
00055 BlockDevReq = 15, /* ENOTBLK Block device required */
00056 ResBusy = 16, /* EBUSY Mounted Device or resource busy */
00057 FileExists = 17, /* EEXIST File exists */
00058 CrossDevLink = 18, /* EXDEV Cross-device link */
00059 NoDevice = 19, /* ENODEV No such device */
00060 NotDirectory = 20, /* ENOTDIR Not a directory */
00061 IsDirectory = 21, /* EISDIR Is a directory */
00062 InvalidArg = 22, /* EINVAL Invalid argument */
00063
00064 FileTableOverflow = 23, /* ENFILE File table overflow */
00065 TooManyOpenFile = 24, /* EMFILE Too many open files */
00066 InvalidIODevCtrl = 25, /* ENOTTY Inappropriate I/O control operation for this device */
00067 TextFileBusy = 26, /* ETXTBSY Text file busy */
00068 FileTooLarge = 27, /* EFBIG File too large */
00069 DiskFull = 28, /* ENOSPC No space left on device */
00070 IllegalSeek = 29, /* ESPIPE Illegal seek */
00071 ReadOnlyFileSys = 30, /* EROFS Read-only file system */
00072 TooManyLinks = 31, /* EMLINK Too many links */
00073 BrokenPipe = 32, /* EPIPE Broken pipe */
00074 MathArgOutOfDomain = 33, /* EDOM Math argument out of domain of function */
00075 MathResOutOfRange = 34, /* ERANGE Math result too large or not representable */
00076 NoDesiredMsgType = 35, /* ENOMSG No message of desired type */
00077 IdentifierRemoved = 36, /* EIDRM Identifier removed */
00078 ChanNbOutOfRange = 37, /* ECHRNG Channel number out of range */
00079 Level2NotSync = 38, /* EL2NSYNC Level 2 not synchronized */
00080 Level3Halted = 39, /* EL3HLT Level 3 halted */
00081 Level3Reset = 40, /* EL3RST Level 3 reset */
00082 LinkNbOutofRange = 41, /* ELNRNG Link number out of range */
00083 PDriverNotAttached = 42, /* EUNATCH Protocol driver not attached */
00084 NoCSIStructAvail = 43, /* ENOCSI No CSI structure available */
00085 Level2Halted = 44, /* EL2HLT Level 2 halted */
00086 Deadlock = 45, /* EDEADLK Deadlock condition or avoided */
00087
00088 NoRecordLockAvail = 46, /* ENOLCK No record locks available in system */
00089 OpCanceled = 47, /* ECANCELED Operation canceled (1003.1b-1993) */
00090 OpNotSupported = 48, /* ENOTSUP Operation not supported (1003.1b-1993) */
00091
00092 DiscQuotaExceded = 49, /* EDQUOT Disc quota exceded */
00093
00094 /* Convergent Error Returns */
00095 BadExchange = 50, /* EBADE Invalid exchange */
00096 BadRequestDesc = 51, /* EBADR Invalid request descriptor */
00097 ExchangeFull = 52, /* EXFULL Exchange full */
00098 NoAnode = 53, /* ENOANO No anode */
00099 BadRequestCode = 54, /* EBADRQC Invalid request code */
00100 BadSlot = 55, /* EBADSLT Invalid slot */
00101 FileDeadlock = 56, /* EDEADLOCK File locking deadlock error */
00102 BadFontFileFormat = 57, /* EBFONT Bad font file format */
00103
00104 /* Interprocess Robust Locks */
00105 LockOwnerDead = 58, /* EOWNERDEAD Process died with the lock */
00106 LockNotRecoverable = 59, /* ENOTRECOVERABLE Lock is not recoverable */
00107
00108 /* stream problems */
00109 NotStreamDev = 60, /* ENOSTR Device not a stream */
00110 NoStreamData = 61, /* ENODATA No data (for no delay io) */
00111 TimerExpired = 62, /* ETIME Timer expired */
00112 NoMoreStreamRes = 63, /* ENOSR Out of streams resources */
00113
00114 /* Network problems */
00115 MachineNotConnect = 64, /* ENONET Machine is not on the network */
00116 PackageNotInstall = 65, /* ENOPKG Package not installed */
00117 RemoteObject = 66, /* EREMOTE The object is remote */
00118 SeveredLink = 67, /* ENOLINK The link has been severed */
00119 AdvertiseError = 68, /* EADV Advertise error */
00120 SrMountError = 69, /* ESRMNT Srmount error */
00121 CommErrorOnSend = 70, /* ECOMM Communication error on send */
00122 ProtocolError = 71, /* EPROTO Protocol error */
00123
00124 /* Interprocess Robust Locks */
00125 LockedLockUnmapped = 72, /* ELOCKUNMAPPED Locked lock was unmapped */
00126
00127 MultiHopAttempt = 74, /* EMULTIHOP Multihop attempted */
00128
00129 BadMessage = 77, /* EBADMSG Bad message or trying to read an unreadable message */
00130 PathNameTooLong = 78, /* ENAMETOOLONG Path Name too long */
00131
00132 ValueOverflow = 79, /* EOVERFLOW Value too large to be stored in data type */
00133 NotUniqueName = 80, /* ENOTUNIQ Given log. name not unique */
00134 BadFileDesc = 81, /* EBADFD FD invalid for this operation */
00135 RemoteAddrChanged = 82, /* EREMCHG Remote address changed */
00136
00137 /* Shared library errors */
00138 LibNoAccess = 83, /* ELIBACC Can't access a needed shared library */
00139 LibCorrupted = 84, /* ELIBBAD Accessing a corrupted shared library */
00140 BadExecLibSection = 85, /* ELIBSCN .lib section in a.out corrupted */
00141 TooManyLinkLib = 86, /* ELIBMAX Attempting to link in too many libraries */
00142 ExecSharedLib = 87, /* ELIBEXEC Attempting to exec a shared library */
00143 IllegalByteSeq = 88, /* EILSEQ Illegal byte sequence. */
00144
00145 /* System Calls and FileSystem */
00146 BadSystemCall = 89, /* ENOSYS Unknown system call or unsupported file system operation */
00147 SymbolicLinkLoop = 90, /* ELOOP Too many symbolic link or prefix loops or symbolic link loop */
00148 RestartableSysCall = 91, /* ERESTART Restartable system call */
00149 StreamHeadPipeFIFO = 92, /* ESTRPIPE if pipe/FIFO, don't sleep in stream head */
00150 NotEmptyDirectory = 93, /* ENOTEMPTY Directory not empty */
00151 TooManyUsers = 94, /* EUSERS Too many users (for UFS) */
00152
00153 /* BSD Networking Software */
00154
00155 /* argument errors */
00156 OpWithoutSocket = 95, /* ENOTSOCK Socket operation on non-socket */
00157 DestAddrRequired = 96, /* EDESTADDRREQ Destination address required */
00158 MsgSizeTooLong = 97, /* EMSGSIZE Message too long */
00159 WrongProtocolType = 98, /* EPROTOTYPE Protocol wrong type for socket */
00160 NotAvailProtocol = 99, /* ENOPROTOOPT Protocol not available */
00161
00162 NotSupportProtocol = 120, /* ENOPROTOOPT Protocol not available */
00163 SockTypeNotSupport = 121, /* ESOCKTNOSUPPORT Socket type not supported */
00164 SockOpNotSupport = 122, /* EOPNOTSUPP Operation not supported on socket */
00165 ProtoFamNotSupport = 123, /* EPFNOSUPPORT Protocol family not supported */
00166 AddrFamNotSupport = 124, /* EAFNOSUPPORT Address family not supported */
00167
00168 /* protocol family */
00169 AddrAlreadyInUsed = 125, /* EADDRINUSE Address already in use */
00170 AddrNotAvailable = 126, /* EADDRNOTAVAIL Can't assign requested address */
00171
00172 /* operational errors */
00173 NetworkIsDown = 127, /* ENETDOWN Network is down */
00174 NetworkUnreachable = 128, /* ENETUNREACH Network is unreachable */
00175 NetworkReset = 129, /* ENETRESET Network dropped connection because of reset */
00176 ConnectAborted = 130, /* ECONNABORTED Software caused connection abort */
00177 ConnectPeerReset = 131, /* ECONNRESET Connection reset by peer */
00178 NoBufferAvailable = 132, /* ENOBUFS No buffer space available */
00179 SocketIsConnected = 133, /* EISCONN Socket is already connected */
00180 SocketNotConnected = 134, /* ENOTCONN Socket is not connected */
00181
00182 /* XENIX has 135 - 142 */
00183
00184 SocketShutdown = 143, /* ESHUTDOWN Can't send after socket shutdown */
00185 TooManyReferences = 144, /* ETOOMANYREFS Too many references can't splice */
00186 ConnectionTimeout = 145, /* ETIMEDOUT Connection timed out */
00187
00188 ConnectionRefused = 146, /* ECONNREFUSED Connection refused */
00189 HostIsDown = 147, /* EHOSTDOWN Host is down */
00190 HostUnreachable = 148, /* EHOSTUNREACH No route to host */
00191
00192 OpInProgress = 149, /* EALREADY operation already in progress */
00193 OpNowInProgress = 150, /* EINPROGRESS operation now in progress */
00194
00195 /* SUN Network File System */
00196 StaleNFSFileHandle = 151, /* ESTALE Stale NFS file handle */
00197
00198 /* ipc/network software -- argument errors */
00199 OpNowInProgress2 = 236, /* EINPROGRESS operation now in progress */
00200 OpWithoutSocket2 = 238, /* ENOTSOCK Socket operation on non-socket */
00201 DestAddrRequired2 = 239, /* EDESTADDRREQ Destination address required */
00202 MsgSizeTooLong2 = 240, /* EMSGSIZE Message too long, Inappropriate message buffer length */
00203 WrongProtocolType2 = 241, /* EPROTOTYPE Protocol wrong type for socket */
00204 NotAvailProtocol2 = 242, /* ENOPROTOOPT Protocol not available */
00205
00206 NotSupportProtocol2 = 243, /* EPROTONOSUPPORT Protocol not available */
00207 SockTypeNotSupport2 = 244, /* ESOCKTNOSUPPORT Socket type not supported */
00208 SockOpNotSupport2 = 245, /* EOPNOTSUPP Operation not supported on socket */
00209
00210 ProtoFamNotSupport2 = 246, /* EPFNOSUPPORT Protocol family not supported */
00211 AddrFamNotSupport2 = 247, /* EAFNOSUPPORT Address family not supported by protocol family */
00212
00213 /* protocol family */
00214 AddrAlreadyInUsed2 = 248, /* EADDRINUSE Address already in use */
00215 AddrNotAvailable2 = 249, /* EADDRNOTAVAIL Can't assign requested address */
00216
00217 /* operational errors */
00218 NetworkIsDown2 = 250, /* ENETDOWN Network is down */
00219 NetworkUnreachable2 = 251, /* ENETUNREACH Network is unreachable */
00220 NetworkReset2 = 252, /* ENETRESET Network dropped connection because of reset */
00221 ConnectAborted2 = 253, /* ECONNABORTED Software caused connection abort */
00222 ConnectPeerReset2 = 254, /* ECONNRESET Connection reset by peer */
00223 NoBufferAvailable2 = 255, /* ENOBUFS No buffer space available */
00224 SocketIsConnected2 = 256, /* EISCONN Socket is already connected */
00225 SocketNotConnected2 = 257, /* ENOTCONN Socket is not connected */
00226
00227 SocketShutdown2 = 258, /* ESHUTDOWN Can't send after socket shutdown */
00228 TooManyReferences2 = 259, /* ETOOMANYREFS Too many references can't splice */
00229 ConnectionTimeout2 = 260, /* ETIMEDOUT Connection timed out */
00230 ConnectionRefused2 = 261, /* ECONNREFUSED Connection refused */
00231
00232 HostIsDown2 = 264, /* EHOSTDOWN Host is down */
00233 HostUnreachable2 = 265, /* EHOSTUNREACH No route to host */
00234
00235 BadRPCStruct = 272, /* EBADRPC RPC struct is bad */
00236 WrongRPCVersion = 273, /* ERPCMISMATCH RPC version wrong */
00237 RPCUnavailable = 274, /* EPROGUNAVAIL RPC program not available */
00238 ProgramBadVersion = 275, /* EPROGMISMATCH Program version wrong */
00239 BadProcedure = 276, /* EPROCUNAVAIL Bad procedure for program */
00240
00241 /* QNX specific */
00242 NoRemote = 300, /* ENOREMOTE Must be done on local machine */
00243 NoNDP8087 = 301, /* ENONDP Need an NDP (8087...) to run */
00244 BadFileSystem = 302, /* EBADFSYS Corrupted file system detected */
00245 MoreSendMsgAgain = 309, /* EMORE More to do, send message again */
00246 RemapCtrlTerminal = 310, /* ECTRLTERM Remap to the controlling terminal */
00247 NoLicense = 311, /* ENOLIC No license */
00248 ServFaultMsgPass = 312, /* ESRVRFAULT Server fault on msg pass */
00249 EndianNotSupport = 313, /* EENDIAN Endian not supported */
00250
00251
00252 /* Negative Error Numbers with OFFSET +330 */
00253
00254 SystemError = -1 + __J2K__QB_OFFSET, /* E_SYSTEM_ERROR */
00255 BadArgument = -2 + __J2K__QB_OFFSET, /* E_BAD_ARGUMENT */
00256 Posted = -3 + __J2K__QB_OFFSET, /* E_POSTED */
00257 Connected = -4 + __J2K__QB_OFFSET, /* E_CONNECTED */
00258 BadState = -5 + __J2K__QB_OFFSET, /* E_BAD_STATE */
00259 NoRoom = -6 + __J2K__QB_OFFSET, /* E_NO_ROOM */
00260 NotPosted = -7 + __J2K__QB_OFFSET, /* E_NOT_POSTED */
00261 UnknownCommand = -8 + __J2K__QB_OFFSET, /* E_UNKNOWN_COMMAND */
00262 NoMatch = -9 + __J2K__QB_OFFSET, /* E_NO_MATCH */
00263 NotSelectable = -10 + __J2K__QB_OFFSET, /* E_NOT_SELECTABLE */
00264 NotConnected = -11 + __J2K__QB_OFFSET, /* E_NOT_CONNECTED */
00265 RequestDenied = -12 + __J2K__QB_OFFSET, /* E_REQUEST_DENIED */
00266 InvalidField = -13 + __J2K__QB_OFFSET, /* E_INVALID_FIELD */
00267 Current = -14 + __J2K__QB_OFFSET, /* E_CURRENT */
00268
00269
00270 /* QB_Error: 330 and higher */
00271 MinorError = 1 + __J2K__QB_OFFSET,
00272 SyntaxError = 2 + __J2K__QB_OFFSET,
00273 NoMoreData = 4 + __J2K__QB_OFFSET,
00274 IllegalFunctionCall = 5 + __J2K__QB_OFFSET,
00275 Overflow = 6 + __J2K__QB_OFFSET,
00276 InsufficiantMemory = 7 + __J2K__QB_OFFSET,
00277 UndefinedLabel = 8 + __J2K__QB_OFFSET,
00278 IndexOutOfBound = 9 + __J2K__QB_OFFSET,
00279 DuplicateDef = 10 + __J2K__QB_OFFSET,
00280 DivisionByZero = 11 + __J2K__QB_OFFSET,
00281 IllegalDirectMode = 12 + __J2K__QB_OFFSET,
00282 TypeMismatch = 13 + __J2K__QB_OFFSET,
00283 NoMoreStringSpace = 14 + __J2K__QB_OFFSET,
00284 FormulaTooComplex = 16 + __J2K__QB_OFFSET,
00285 CantContinue = 17 + __J2K__QB_OFFSET,
00286 UndefinedFunction = 18 + __J2K__QB_OFFSET,
00287 NoResume = 19 + __J2K__QB_OFFSET,
00288 ResumeWithNoError = 20 + __J2K__QB_OFFSET,
00289 DeviceTimeout = 24 + __J2K__QB_OFFSET,
00290 DeviceFault = 25 + __J2K__QB_OFFSET,
00291 NoMorePaper = 27 + __J2K__QB_OFFSET,
00292 DupLabel = 33 + __J2K__QB_OFFSET,
00293 UndefinedSub = 35 + __J2K__QB_OFFSET,
00294 ArgMismatch = 37 + __J2K__QB_OFFSET,
00295 UndefinedArray = 38 + __J2K__QB_OFFSET,
00296 VariableRequired = 40 + __J2K__QB_OFFSET,
00297 InternalError = 51 + __J2K__QB_OFFSET,
00298 /* BadFileNumber = 52 + __J2K__QB_OFFSET,*/
00299 FileNotFound = 53 + __J2K__QB_OFFSET,
00300 BadFileMode = 54 + __J2K__QB_OFFSET,
00301 FileAlreadyOpen = 55 + __J2K__QB_OFFSET,
00302 /* IOError = 57 + __J2K__QB_OFFSET,*/
00303 FileExist = 58 + __J2K__QB_OFFSET,
00304 BadRecordLength = 59 + __J2K__QB_OFFSET,
00305 /* DiskFull = 61 + __J2K__QB_OFFSET,*/
00306 ReadPastEOF = 62 + __J2K__QB_OFFSET,
00307 BadRecordNo = 63 + __J2K__QB_OFFSET,
00308 BadFileName = 64 + __J2K__QB_OFFSET,
00309 TooManyFiles = 67 + __J2K__QB_OFFSET,
00310 /* NoDevice = 68 + __J2K__QB_OFFSET,*/
00311 CommBufferOverflow = 69 + __J2K__QB_OFFSET,
00312 PermissionDenied = 70 + __J2K__QB_OFFSET,
00313 DiskNotReady = 71 + __J2K__QB_OFFSET,
00314 DiskError = 72 + __J2K__QB_OFFSET,
00315 NoFeature = 73 + __J2K__QB_OFFSET,
00316 RenameOnDisk = 74 + __J2K__QB_OFFSET,
00317 FileAccessError = 75 + __J2K__QB_OFFSET,
00318 PathNotFound = 76 + __J2K__QB_OFFSET,
00319 FeatureRemoved = 80 + __J2K__QB_OFFSET,
00320 InvalidName = 81 + __J2K__QB_OFFSET,
00321 TableNotFound = 82 + __J2K__QB_OFFSET,
00322 IndexNotFound = 83 + __J2K__QB_OFFSET,
00323 InvalidColumn = 84 + __J2K__QB_OFFSET,
00324 NoCurrentRecord = 85 + __J2K__QB_OFFSET,
00325 DupValueForIndex = 86 + __J2K__QB_OFFSET,
00326 InvalidOpOnNull = 87 + __J2K__QB_OFFSET,
00327 DBFailure = 88 + __J2K__QB_OFFSET,
00328 InsufficiantBuffer = 89 + __J2K__QB_OFFSET,
00329 ThrowableCatch = 100 + __J2K__QB_OFFSET,
00330 /* Error = 101 + __J2K__QB_OFFSET,*/
00331 LinkageError = 102 + __J2K__QB_OFFSET,
00332 Exception = 103 + __J2K__QB_OFFSET,
00333 IncompatibleClassCast = 104 + __J2K__QB_OFFSET,
00334 RuntimeException = 105 + __J2K__QB_OFFSET,
00335 IllegalArgument = 106 + __J2K__QB_OFFSET,
00336 IndexOutOfBounds = 107 + __J2K__QB_OFFSET,
00337 ClassNotFound = 108 + __J2K__QB_OFFSET,
00338 CloneNotSupported = 109 + __J2K__QB_OFFSET,
00339 IllegalAccess = 110 + __J2K__QB_OFFSET,
00340 Instantiation = 111 + __J2K__QB_OFFSET,
00341 InterruptedAccess = 112 + __J2K__QB_OFFSET,
00342 NoSuchField = 113 + __J2K__QB_OFFSET,
00343 NoSuchMethod = 114 + __J2K__QB_OFFSET,
00344 ArithmeticError = 115 + __J2K__QB_OFFSET,
00345 ArrayStorageError = 116 + __J2K__QB_OFFSET,
00346 IllegalState = 117 + __J2K__QB_OFFSET,
00347 IllegalMonitorState = 118 + __J2K__QB_OFFSET,
00348 NegativeArraySize = 119 + __J2K__QB_OFFSET,
00349 NullPointerOperation = 120 + __J2K__QB_OFFSET,
00350 SecurityViolation = 121 + __J2K__QB_OFFSET,
00351 ClassCircularityError = 122 + __J2K__QB_OFFSET,
00352 ClassFormatError = 123 + __J2K__QB_OFFSET,
00353 InitializerError = 124 + __J2K__QB_OFFSET,
00354 NoClassDefinition = 125 + __J2K__QB_OFFSET,
00355 UnsatisfiedLinkError = 126 + __J2K__QB_OFFSET,
00356 VerificationFailure = 127 + __J2K__QB_OFFSET,
00357 IllegalThreadState = 128 + __J2K__QB_OFFSET,
00358 BadNumberFormat = 129 + __J2K__QB_OFFSET,
00359 AbstractMethodError = 130 + __J2K__QB_OFFSET,
00360 ArrayIndexOutOfBounds = 131 + __J2K__QB_OFFSET,
00361 StringIndexOutOfBounds = 132 + __J2K__QB_OFFSET,
00362 StackOverflow = 133 + __J2K__QB_OFFSET,
00363 UnknownError = 134 + __J2K__QB_OFFSET,
00364
00365 TFTPerror_IllegalOpCode = 135 + __J2K__QB_OFFSET, // 330 + 135 = 465
00366 TFTPerror_NotDefined = 136 + __J2K__QB_OFFSET
00367 };
|
|
|
Definition at line 369 of file JError.hpp. |
|
|
Definition at line 370 of file JError.hpp. |
|
|
Definition at line 371 of file JError.hpp. |
|
|
Definition at line 372 of file JError.hpp. |
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001