Error methods
These two functions are
used to retrieve textual error messages. To determine whether there are any
errors call the 'getFirstError' method. If this returns an empty string then
there have been no reported errors. If it returns a string then use 'getNextError'
to retrieve all subsequent errors.
Methods:
| Method: |
boolean hadError()
|
| Description:
|
Determines if any errors
occured. |
| Returns: |
true for an error |
| Parameters: |
none
| |
| Method: |
boolean hasMoreErrors()
|
| Description:
|
Determines if there
are anymore errors in the list. Use in conjuction with 'getNextError'. |
| Returns: |
true for more errors
in the list else false |
| Parameters: |
none
| |
| Method: |
String getNextError()
|
| Description:
|
Gets the next error
in the list. Use 'hasMoreErrors' method to determin if there any more errors
in the list. |
| Returns: |
The next error in the
list. |
| Parameters: |
none
| |