private static class ErrorManager.ServerDataAccess extends ErrorManager.ErrorDataAccess
Modifier | Constructor and Description |
---|---|
private |
ServerDataAccess() |
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 . |
void |
setSilent(boolean value)
Sets the
silent variable. |
protected void |
setSilent(ErrorManager.WorkArea wa,
boolean value)
Sets the
silent variable. |
addRecord, getRecord, getSize, isErrorFlag, isPending, isSilent, isSuppressWarnings, isSystemAlertBoxes, setPending
public void setSilent(boolean value)
silent
variable.setSilent
in interface RemoteErrorData
setSilent
in class ErrorManager.ErrorDataAccess
value
- The new state of the variable.protected void setSilent(ErrorManager.WorkArea wa, boolean value)
silent
variable.setSilent
in class ErrorManager.ErrorDataAccess
wa
- Context local data storage.value
- The new state of the variable.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.