private static class ErrorManager.SuppressedErrorDataAccessor extends ErrorManager.ServerErrorDataAccessor
| Modifier | Constructor and Description |
|---|---|
private |
SuppressedErrorDataAccessor() |
| 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. |
void |
writeLog(java.lang.String msg,
boolean logCallStack,
long threadId)
Writes a log record.
|
addRecord, getRecord, getSize, getSuppressWarningsList, handleSoapFault, isErrorFlag, isPending, isSilent, isSuppressWarnings, isSystemAlertBoxes, setPending, throwErrorConditionExceptionpublic void setSilent(boolean value)
silent variable.setSilent in interface RemoteErrorDatasetSilent in class ErrorManager.ServerErrorDataAccessorvalue - The new state of the variable.protected void setSilent(ErrorManager.WorkArea wa, boolean value)
silent variable.setSilent in class ErrorManager.ServerErrorDataAccessorwa - Context local data storage.value - The new state of the variable.public boolean mustManageLegacyError()
mustManageLegacyError in interface RemoteErrorDatamustManageLegacyError in class ErrorManager.ServerErrorDataAccessorpublic boolean mustThrowLegacyError()
SysError.mustThrowLegacyError in interface RemoteErrorDatamustThrowLegacyError in class ErrorManager.ServerErrorDataAccessorpublic void recordForLegacyThrow(java.lang.String errmsg,
int num)
LegacyErrorException.recordForLegacyThrow in interface RemoteErrorDatarecordForLegacyThrow in class ErrorManager.ServerErrorDataAccessorerrmsg - The error message.num - The error number.public void writeLog(java.lang.String msg,
boolean logCallStack,
long threadId)
writeLog in interface RemoteErrorDatawriteLog in class ErrorManager.ServerErrorDataAccessormsg - The log message.logCallStack - Flag to indicate if call stack should be included in log.threadId - The id of the thread recording the error message.