|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectFRAMES2API.Error
public class Error
Nested Class Summary | |
---|---|
static class |
Error.ByReferenceBoolean
|
static class |
Error.ByReferenceDouble
|
static class |
Error.ByReferenceInteger
|
static class |
Error.ByReferenceLong
|
static class |
Error.ByReferenceString
|
Constructor Summary | |
---|---|
Error()
|
Method Summary | |
---|---|
void |
ClearErrors(int PID)
Documentation for: ClearErrors Clear error message list. |
void |
ClearWarnings(int PID)
Documentation for: ClearWarnings Clear warnings message list. |
int |
GetCountOfWarningsAndErrors(int PID,
Error.ByReferenceInteger warnings,
Error.ByReferenceInteger errors)
Documentation for: GetCountOfWarningsAndErrors Get all the count of errors and warnings for a given PID. |
void |
GetErrorList(int PID,
java.lang.String delimiter,
Error.ByReferenceString list)
Documentation for: GetErrorList Get all the error messages as a single string with a delimiter. |
void |
GetWarningList(int PID,
java.lang.String delimiter,
Error.ByReferenceString list)
Documentation for: GetWarningList Get all the warning messages as a single string with a delimiter. |
int |
ReadError(int PID,
int code,
Error.ByReferenceString msg)
Documentation for: ReadError Get an error message using error code. |
int |
ReadWarning(int PID,
int code,
Error.ByReferenceString msg)
Documentation for: ReadWarning Get an warning message using error code. |
void |
SetError(int PID,
java.lang.String msg)
Documentation for: SetError Set an error message. |
void |
SetWarning(int PID,
java.lang.String msg)
Documentation for: SetWarning Add a warning message to the list of messages. |
int |
WriteErrorFile(int PID,
java.lang.String filename)
Documentation for: WriteErrorFile Get all the error messages as a single string with a delimiter. |
int |
WriteWarningFile(int PID,
java.lang.String filename)
Documentation for: WriteWarningFile Get all the warning messages as a single string with a delimiter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Error()
Method Detail |
---|
public void SetError(int PID, java.lang.String msg)
PID
- PID from OpenINI call.msg
- The message to add to the error list.public void SetWarning(int PID, java.lang.String msg)
PID
- PID from OpenINI call.msg
- The message to add to the error list.public int ReadError(int PID, int code, Error.ByReferenceString msg)
PID
- PID from OpenINI call.code
- Error message returned by another program.msg
- The message to associated with the error.public int ReadWarning(int PID, int code, Error.ByReferenceString msg)
PID
- PID from OpenINI call.code
- Error message returned by another program.msg
- The message to associated with the error.public void ClearErrors(int PID)
PID
- PID from OpenINI call.public void ClearWarnings(int PID)
PID
- PID from OpenINI call.public void GetErrorList(int PID, java.lang.String delimiter, Error.ByReferenceString list)
PID
- PID from OpenINI call.delimiter
- The delimiter to be used between error messages. Such as (",","\n" etc)list
- The complete list of errors in a stringpublic int WriteErrorFile(int PID, java.lang.String filename)
PID
- PID from OpenINI call.filename
- The filename to which to write PID errors list.public void GetWarningList(int PID, java.lang.String delimiter, Error.ByReferenceString list)
PID
- PID from OpenINI call.delimiter
- The delimiter to be used between warning messages. Such as (",","\n" etc)list
- The complete list of warnings in a stringpublic int WriteWarningFile(int PID, java.lang.String filename)
PID
- PID from OpenINI call.filename
- The filename to which to write PID warnings list.public int GetCountOfWarningsAndErrors(int PID, Error.ByReferenceInteger warnings, Error.ByReferenceInteger errors)
PID
- PID from OpenINI call.warnings
- The number of warnings registered with this pid.errors
- The number of errors registered with this pid.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |