public class JsonParserError extends JsonError
| Constructor and Description |
|---|
JsonParserError() |
| Modifier and Type | Method and Description |
|---|---|
void |
__json_JsonParserError_constructor__()
Default method to duplicate the constructor.
|
void |
__json_JsonParserError_constructor__(character msg,
integer num)
Explicit method associated with a legacy constructor for the
Progress.Json.JsonParserError class. |
integer |
getOffset()
Reads the offset property.
|
static object<? extends JsonParserError> |
newInstance(character msg,
integer num)
Create a new JsonParserError instance and return it as a legacy object.
|
static object<? extends JsonParserError> |
newInstance(java.lang.String msg,
int num)
Create a new JsonParserError 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 |
setOffset(integer _var)
Sets the offset 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.
|
__json_JsonError_constructor__, __json_JsonError_constructor____lang_SysError_constructor__, __lang_SysError_constructor__, newInstance__lang_ProError_constructor__, __lang_ProError_constructor__, addMessage, 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 integer offset
public void __json_JsonParserError_constructor__()
The original 4GL version had a private access mode.
Some Progress builtin classes have all constructors with private access mode but are subclassed. Since child classes must be able to reference at least one "constructor" directly, this should be impossible. This must be some kind of special case hidden inside the OO4GL implmentation. In Java the method must be public.
public void __json_JsonParserError_constructor__(character msg, integer num)
Progress.Json.JsonParserError class.msg - The message.num - The message number.public integer getOffset()
public void setOffset(integer _var)
_var - The new offset value.public static object<? extends JsonParserError> newInstance(character msg, integer num)
msg - The error message.num - The error number.public static object<? extends JsonParserError> newInstance(java.lang.String msg, int num)
msg - The error message.num - The error 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.