LogExceptionpublic class LogException extends Throwable A class which contains exception information for errors in the log. |
Fields Summary |
---|
static final int | LOG_SUCCESSConstants which define error codes from the logger classes. | static final int | LOG_NOT_INITIALISED | static final int | LOG_OPEN_FAILURE | static final int | LOG_READ_FAILURE | static final int | LOG_CORRUPTED | static final int | LOG_INVALID_FILE_DESCRIPTOR | static final int | LOG_LOCK_FAILURE | static final int | LOG_WRITE_FAILURE | static final int | LOG_CLOSE_FAILURE | static final int | LOG_TOO_MANY_INPUT_BUFFERS | static final int | LOG_RECORD_TOO_LARGE | static final int | LOG_NO_SPACE | static final int | LOG_INSUFFICIENT_MEMORY | static final int | LOG_ERROR_FORCING_LOG | static final int | LOG_INVALID_LSN | static final int | LOG_NEW_TAIL_TOO_HIGH | static final int | LOG_NEW_TAIL_TOO_LOW | static final int | LOG_INVALID_TAIL | static final int | LOG_INTERNAL_ERROR | static final int | LOG_NO_RESTART_RECORD | static final int | LOG_INVALID_CURSOR | static final int | LOG_END_OF_CURSOR | static final int | LOG_ACCESS_FAILURE | static final int | LOG_INVALID_PROCESS | static final int | LOG_INVALID_RECORDTYPE | static final int | LOG_INVALID_WRITEMODE | static final int | LOG_OPEN_EXTENT_FAILURE | static final int | LOG_READ_ONLY_ACCESS | static final int | MAX_RESPONSE_VALUE | private static final String[] | statusStringsStrings which contain error messages from the log. | int | errorCodeInstance members | private int | throwPoint | private Object | extraInfo |
Constructors Summary |
---|
LogException(Object dummy, int err, int point)LogException constructor
/* COMMENT(Ram J) - used to be trace object */
super(new String("Log exception at point "+point+":\n"+
statusStrings[err>MAX_RESPONSE_VALUE?MAX_RESPONSE_VALUE+1:err]/*#Frozen*/));
errorCode = err;
throwPoint = point;
| LogException(Object dummy, int err, int point, Object extra)LogException constructor
super(new String("Log exception at point "+point+":\n"+
statusStrings[err>MAX_RESPONSE_VALUE?MAX_RESPONSE_VALUE+1:err]/*#Frozen*/));
errorCode = err;
throwPoint = point;
extraInfo = extra;
|
|