private static class ErrorManager.LocalDataAccess extends ErrorManager.ErrorDataAccess
Modifier | Constructor and Description |
---|---|
private |
LocalDataAccess() |
Modifier and Type | Method and Description |
---|---|
boolean |
mustManageLegacyError()
Check if the top-level block is ROUTINE-LEVEL UNDO, THROW or the current program is
BLOCK-LEVEL UNDO, THROW.
|
boolean |
mustThrowLegacyError()
Check if the current ERROR condition must be raised as a legacy
SysError . |
void |
recordForLegacyThrow(java.lang.String errmsg,
int num)
Record the specified error message and number, to be later thrown as a
LegacyErrorException . |
addRecord, getRecord, getSize, isErrorFlag, isPending, isSilent, isSuppressWarnings, isSystemAlertBoxes, setPending, setSilent, setSilent
public boolean mustManageLegacyError()
public boolean mustThrowLegacyError()
SysError
.public void recordForLegacyThrow(java.lang.String errmsg, int num)
LegacyErrorException
.errmsg
- The error message.num
- The error number.