| Modifier and Type | Field and Description |
|---|---|
| private List | |
| private final String | |
| private static final CoreMessageLogger | |
| private List |
| Access | Constructor and Description |
|---|---|
| public | ErrorTracker()
Constructs an ErrorCounter without knowledge of the HQL, meaning that generated QueryException instances *will not* contain the HQL (and will need to be wrapped at a higher level in another QueryException). |
| public | ErrorTracker(String hql)
Constructs an ErrorCounter with knowledge of the HQL, meaning that generated QueryException instances *will* contain the HQL. |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| private String | |
| public void | |
| public void | |
| public void | |
| public void |
| errorList | back to summary |
|---|---|
| private List<String> errorList | |
| hql | back to summary |
|---|---|
| private final String hql | |
| LOG | back to summary |
|---|---|
| private static final CoreMessageLogger LOG | |
| recognitionExceptions | back to summary |
|---|---|
| private List<RecognitionException> recognitionExceptions | |
| ErrorTracker | back to summary |
|---|---|
| public ErrorTracker() Constructs an ErrorCounter without knowledge of the HQL, meaning that generated QueryException instances *will not* contain the HQL (and will need to be wrapped at a higher level in another QueryException).
| |
| ErrorTracker | back to summary |
|---|---|
| public ErrorTracker(String hql) Constructs an ErrorCounter with knowledge of the HQL, meaning that generated QueryException instances *will* contain the HQL.
| |
| getErrorCount | back to summary |
|---|---|
| public int getErrorCount() Implements org.
| |
| getErrorString | back to summary |
|---|---|
| private String getErrorString() | |
| reportError | back to summary |
|---|---|
| public void reportError(RecognitionException e) Implements org.
| |
| reportError | back to summary |
|---|---|
| public void reportError(String message) Implements org.
| |
| reportWarning | back to summary |
|---|---|
| public void reportWarning(String message) Implements org.
| |
| throwQueryException | back to summary |
|---|---|
| public void throwQueryException() throws QueryException Implements org.
| |