[Misc] Removed unnecessary javadoc
[Misc] Improved handing of named queries in error reporting