| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private final javax. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv AbortProcessingException | Returns: This method does not return, but is declared with an exception return type so you can writethrow abortWithError(...) to tell the compiler that.the element to which it pertains e,the format string for the text of the error format, Object... arguments for the format string args)Issue a compilation error and abandon the processing of this class. |
| pack-priv int | |
| pack-priv void | reportError(javax.
the element to which it pertains e,the format string for the text of the warning format, Object... arguments for the format string args)Issue a compilation error. |
| pack-priv void | reportNote(javax.
the element to which it pertains e,the format string for the text of the note format, Object... arguments for the format string args)Issue a compilation note. |
| pack-priv void | reportWarning(javax.
the element to which it pertains e,the format string for the text of the warning format, Object... arguments for the format string args)Issue a compilation warning. |
| errorCount | back to summary |
|---|---|
| private int errorCount | |
| messager | back to summary |
|---|---|
| private final javax. | |
| ErrorReporter | back to summary |
|---|---|
| pack-priv ErrorReporter(javax. | |
| abortIfAnyError | back to summary |
|---|---|
| pack-priv void abortIfAnyError() Abandon the processing of this class if any errors have been output. | |
| abortWithError | back to summary |
|---|---|
| pack-priv AbortProcessingException abortWithError(javax. Issue a compilation error and abandon the processing of this class. This does not prevent the processing of other classes.
| |
| errorCount | back to summary |
|---|---|
| pack-priv int errorCount() The number of errors that have been output by calls to | |
| reportError | back to summary |
|---|---|
| pack-priv void reportError(javax. Issue a compilation error. This method does not throw an exception, since we want to continue processing and perhaps report other errors. It is a good idea to introduce a test case in CompilationTest for any new call to reportError(...) to ensure that we continue correctly after an error.
| |
| reportNote | back to summary |
|---|---|
| pack-priv void reportNote(javax. Issue a compilation note.
| |
| reportWarning | back to summary |
|---|---|
| pack-priv void reportWarning(javax. Issue a compilation warning.
| |