public class AppError extends ProError
Modifier and Type | Field and Description |
---|---|
private boolean |
fromReturn
Flag indicating if this originates from a RETURN ERROR statement.
|
private character |
returnValue
The return value.
|
Constructor and Description |
---|
AppError() |
Modifier and Type | Method and Description |
---|---|
void |
__lang_AppError_constructor__()
Implicit, no parameter, method associated with the implicit legacy constructor for the
Progress.Lang.AppError class. |
void |
__lang_AppError_constructor__(character _retVal)
Explicit method associated with a legacy constructor for the
Progress.Lang.AppError class. |
void |
__lang_AppError_constructor__(character _msg,
integer _num)
Explicit method associated with a legacy constructor for the
Progress.Lang.AppError class. |
void |
__lang_AppError_execute__()
The 'execute' method.
|
void |
addMessage(character msg,
integer num)
Implementation of the AddMessage legacy method.
|
character |
getReturnValue()
Get the
returnValue property. |
boolean |
isFromReturn()
Get the state of the
fromReturn flag. |
static object<AppError> |
newInstance(character retVal)
Create a new AppError instance and return it as a legacy object.
|
static object<AppError> |
newInstance(character msg,
integer num)
Create a new AppError instance and return it as a legacy object.
|
static object<AppError> |
newInstance(java.lang.String msg,
int num)
Create a new AppError instance and return it as a legacy object.
|
void |
removeMessage(integer idx)
Implementation of the RemoveMessage legacy method.
|
void |
setFromReturn(boolean state)
Set the state of the
fromReturn flag. |
void |
setReturnValue(character val)
Set the
returnValue property. |
__lang_ProError_constructor__, __lang_ProError_constructor__, __lang_ProError_execute__, getCallStack, getMessage, getMessageNum, getNumMessages, getSeverity, populateCallStack, setSeverity, validIndex
__lang_BaseObject_constructor__, __lang_BaseObject_execute__, assertNotNull, assertNotNull, clone, getLegacyClass, getNextSibling, getPrevSibling, legacyEquals, toLegacyString
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
__lang_BaseObject_constructor__, clone, getLegacyClass, getNextSibling, getPrevSibling, isTracked, legacyEquals, toLegacyString
private character returnValue
private boolean fromReturn
public static object<AppError> newInstance(character retVal)
retVal
- The return value.public static object<AppError> newInstance(character msg, integer num)
msg
- The message.num
- The message number.public static object<AppError> newInstance(java.lang.String msg, int num)
msg
- The message.num
- The message number.public void __lang_AppError_execute__()
public void __lang_AppError_constructor__()
Progress.Lang.AppError
class.public void __lang_AppError_constructor__(character _msg, integer _num)
Progress.Lang.AppError
class._msg
- The message._num
- The message number.public void __lang_AppError_constructor__(character _retVal)
Progress.Lang.AppError
class._retVal
- The return value.public boolean isFromReturn()
fromReturn
flag.public void setFromReturn(boolean state)
fromReturn
flag.state
- true
if this error is raised via RETURN ERROR statement.public character getReturnValue()
returnValue
property.public void setReturnValue(character val)
returnValue
property.val
- The return value.public void removeMessage(integer idx)
idx
- The message index to be removed.public void addMessage(character msg, integer num)
addMessage
in class ProError
msg
- The error message.num
- The error message number.