Merge "QueryBuilder: Remove special handling of QueryParseException"

This commit is contained in:
Edwin Kempin 2015-05-05 07:17:19 +00:00 committed by Gerrit Code Review
commit 2621d651b4

View File

@ -370,9 +370,6 @@ public abstract class QueryBuilder<T> {
} catch (IllegalAccessException e) { } catch (IllegalAccessException e) {
throw error("Error in operator " + name + ":" + value, e); throw error("Error in operator " + name + ":" + value, e);
} catch (InvocationTargetException e) { } catch (InvocationTargetException e) {
if (e.getCause() instanceof QueryParseException) {
throw (QueryParseException) e.getCause();
}
throw error("Error in operator " + name + ":" + value, e.getCause()); throw error("Error in operator " + name + ":" + value, e.getCause());
} }
} }