| java.lang.Object gnu.text.SourceMessages
SourceMessages | public class SourceMessages (Code) | | A collection of (zero or more) SourceErrors.
|
checkErrors | public boolean checkErrors(java.io.PrintWriter out, int max)(Code) | | Returns true if an error was seen. Prints and clears the messages.
Parameters: out - where to write the error message to Parameters: max - maximum number of messages to print (can be 0) |
checkErrors | public boolean checkErrors(java.io.PrintStream out, int max)(Code) | | Returns true if an error was seen. Prints and clears the messages
Parameters: out - where to write the error message to Parameters: max - maximum number of messages to print (can be 0) |
clear | public void clear()(Code) | | |
clearErrors | public void clearErrors()(Code) | | |
error | public void error(char severity, String filename, int line, int column, String message)(Code) | | |
getErrorCount | public int getErrorCount()(Code) | | Get the number of errors (not counting warnings).
|
seenErrors | public boolean seenErrors()(Code) | | Return true iff errors (not warnings) have been seen.
|
|
|