public interface RemoteErrorData
| Modifier and Type | Method and Description |
|---|---|
void |
addRecord(java.lang.Object record)
Adds a record to the list of error records.
|
java.lang.Object |
getRecord(int index)
Gets a record from the list of error records.
|
int |
getSize()
Gets the size of the list of error records.
|
java.lang.String |
getSuppressWarningsList()
Reflects the value of SESSION:SUPPRESS-WARNINGS-LIST attribute.
|
void |
handleSoapFault(java.lang.String operationName,
java.lang.String faultMsg,
java.lang.String faultActor,
java.lang.String faultCode,
java.lang.String faultString,
java.lang.String faultDetailXML)
Handles a SOAP fault.
|
boolean |
isErrorFlag()
Queries the state of
error variable. |
boolean |
isPending()
Queries the state of
pendingError variable. |
boolean |
isSilent()
Queries the state of
silent variable. |
boolean |
isSuppressWarnings()
Reflects the value of SESSION:SUPPRESS-WARNINGS attribute.
|
boolean |
isSystemAlertBoxes()
Get the state of SESSION:SYSTEM-ALERT-BOXES attribute.
|
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 |
setPending(boolean value)
Sets the
pendingError variable. |
void |
setSilent(boolean value)
Sets the
silent variable. |
void |
throwErrorConditionException(int num,
java.lang.String errmsg)
Throw the specified error message and number.
|
void |
writeLog(java.lang.String msg,
boolean logCallStack,
long threadId)
Writes a log record.
|
boolean isSilent()
silent variable.true if silent mode is enabled, otherwise
false.void setSilent(boolean value)
silent variable.value - The new state of the variable.boolean isErrorFlag()
error variable.true if error flag is turned on, otherwise
false.boolean isPending()
pendingError variable.true if pending error flag is turned on, otherwise
false.void setPending(boolean value)
pendingError variable.value - The new state of the variable.int getSize()
void addRecord(java.lang.Object record)
record - The object to add to the list of error records.java.lang.Object getRecord(int index)
index - The record index.boolean isSuppressWarnings()
java.lang.String getSuppressWarningsList()
boolean isSystemAlertBoxes()
boolean mustManageLegacyError()
boolean mustThrowLegacyError()
SysError.void recordForLegacyThrow(java.lang.String errmsg,
int num)
LegacyErrorException.errmsg - The error message.num - The error number.void throwErrorConditionException(int num,
java.lang.String errmsg)
num - The error number.errmsg - The error message.void writeLog(java.lang.String msg,
boolean logCallStack,
long threadId)
msg - 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.void handleSoapFault(java.lang.String operationName,
java.lang.String faultMsg,
java.lang.String faultActor,
java.lang.String faultCode,
java.lang.String faultString,
java.lang.String faultDetailXML)
operationName - The operation that failed.faultMsg - The fault error msg.faultActor - The fault actor.faultCode - The fault code.faultString - The fault string.faultDetailXML - The fault details as xml.