public interface SearchQueryErrorHandler
handle errors.| Modifier and Type | Method and Description |
|---|---|
void |
handleError(String query,
int start,
int end,
NlsObject message)
This method is called if an error occurred during
query parsing. |
void handleError(String query, int start, int end, NlsObject message) throws RuntimeException
query parsing.query - is the SearchQuery to parse a String.start - is the start index in querywhere the error occurred.end - is the end index in querywhere the error occurred.message - is the actual error message.RuntimeException - if the error should be thrown to the caller of the SearchQueryBuilder.
If no exception is thrown the given message is consumed and the
SearchQueryBuilder continues the parsing.Copyright © 2001–2016 mmm-Team. All rights reserved.