SES-1676 : Tighten exception on LiteralUtil.createLiteralOrFail