HHH-8159 - Apply fixups indicated by analysis tools

This commit is contained in:
Steve Ebersole 2013-04-25 10:01:09 -05:00
parent 955c99cc43
commit ce08bdb7a8
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ public class JavaConstantNode extends Node implements ExpectedTypeAwareNode, Ses
Dialect dialect = factory.getDialect(); Dialect dialect = factory.getDialect();
return literalType.objectToSQLString( constantValue, dialect ); return literalType.objectToSQLString( constantValue, dialect );
} }
catch ( Throwable t ) { catch ( Exception t ) {
throw new QueryException( QueryTranslator.ERROR_CANNOT_FORMAT_LITERAL + constantExpression, t ); throw new QueryException( QueryTranslator.ERROR_CANNOT_FORMAT_LITERAL + constantExpression, t );
} }
} }