control the exceptions in storage and metadata engine. All query executions get the result and this result is checked to ensure if it is a QueryResult or an ErrorResult and then throw an exception
pom properties