public interface CommonErrorStatus extends CommonHandle, Errorable
ERROR-STATUS attribute or method | API |
---|---|
NUM-MESSAGES | numErrors() |
GET-MESSAGE(n) | getErrorText(int) and getErrorText(integer) |
GET-NUMBER(n) | getErrorNumber(int) and getErrorNumber(integer)
|
handle.unwrapErrorStatus()
API, which, depending on the
handle's state, it either returns an ErrorManager.asHandle()
instance or an dynamic proxy using handle.invalidAttrAccessProxy
Modifier and Type | Method and Description |
---|---|
integer |
getErrorNumber(int index)
Returns the Progress compatible error number associated with the error
entry at the given index in the error list.
|
integer |
getErrorNumber(integer index)
Returns the Progress compatible error number associated with the error
entry at the given index in the error list.
|
handle |
getErrorObjectDetail()
Returns a handle for the ERROR-OBJECT-DETAIL attribute, set in cases of SOAP-related faults.
|
character |
getErrorText(int index)
Returns the Progress compatible error text associated with the error
entry at the given index in the error list.
|
character |
getErrorText(integer index)
Returns the Progress compatible error text associated with the error
entry at the given index in the error list.
|
integer |
numErrors()
Returns the number of the errors (recorded in the error list) which
have occurred since the last call to
ErrorManager.silentErrorEnable() . |
void |
setNumErrors(int64 errCount)
Undocumented feature encountered in customer code.
|
getResourceType, readOnlyError
id, id, unknown, valid
character getErrorText(integer index)
index
- Position in the error list from which to return the entry.character getErrorText(int index)
index
- Position in the error list from which to return the entry.integer numErrors()
ErrorManager.silentErrorEnable()
.silentErrorEnable
call OR if
silentErrorEnable
has never been called.void setNumErrors(int64 errCount)
errCount
- New value.integer getErrorNumber(integer index)
index
- Position in the error list from which to return the entry.integer getErrorNumber(int index)
index
- Position in the error list from which to return the entry.handle getErrorObjectDetail()