Next: , Previous: , Up: Java Interface   [Contents][Index]


4.1 Java Status Codes

Function: boolean err_P (int x)

Return x if a valid error code (-1 … MAXERR); else 0.

Function: boolean success_P (int x)

Not err_P.

Variable: int success

Successful execution (0).

Negative integers are used for errors according to increasingly severity, as follows:

Variable: int notpres

Successful execution; no data present or no change made.

Variable: int terminated

Failure; no damage; caller can retry operation.

Variable: int retryerr

Failure; no damage; caller can retry operation.

Variable: int keyerr

Failure, no damage, call was in error.

Variable: int argerr

Failure, no damage, call was in error.

Variable: int noroom

Failure, no damage, out of room in file.

Variable: int typerr

Failure, file or object was not of correct type.

Variable: int ioerr

I/O error, DB may be damaged.

Variable: int strangerr

Internal error, DB may be damaged.

Variable: int unkerr

Placeholder code.

Variable: int maxerr

All error codes are between 0 and ‘maxerr’.


Next: Java SEGs, Previous: Java Interface, Up: Java Interface   [Contents][Index]