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 |
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 |
readExternal(java.io.ObjectInput in)
The object implements the readExternal method to restore its
contents by calling the methods of DataInput for primitive
types and readObject for objects, strings and arrays.
|
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. |
void |
writeExternal(java.io.ObjectOutput out)
The object implements the writeExternal method to save its contents
by calling the methods of DataOutput for its primitive values or
calling the writeObject method of ObjectOutput for objects, strings,
and arrays.
|
__lang_ProError_constructor__, __lang_ProError_constructor__, getCallStack, getMessage, getMessageNum, getNumMessages, getSeverity, populateCallStack, setSeverity, validIndex__isValidInternal__, __lang_BaseObject_constructor__, __setValidInternal__, assertNotNull, assertNotNull, getLegacyClass, getNextSibling, getPrevSibling, legacyClone, legacyEquals, toLegacyStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait__isValidInternal__, __lang_BaseObject_constructor__, __setValidInternal__, getLegacyClass, getNextSibling, getPrevSibling, isTracked, legacyClone, legacyEquals, toLegacyStringprivate 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_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 ProErrormsg - The error message.num - The error message number.public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
writeExternal in interface java.io.ExternalizablewriteExternal in class ProErrorout - the stream to write the object tojava.io.IOException - Includes any I/O exceptions that may occurpublic void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.ExternalizablereadExternal in class ProErrorin - the stream to read data from in order to restore the objectjava.io.IOException - if I/O errors occurjava.lang.ClassNotFoundException - If the class for an object being
restored cannot be found.