Uploaded image for project: 'Spring Data for Apache Cassandra'
  1. Spring Data for Apache Cassandra
  2. DATACASS-304

CqlTemplate.doExecute does not translate Cassandra Exceptions.

    XMLWordPrintable

    Details

    • Last commented by a User:
      true
    • Sprint:
      Hopper SR2

      Description

      CqlTemplate.doExecute catches Spring's DataAccessException and so it does not translate Cassandra's RuntimeException's.

       	protected <T> T doExecute(SessionCallback<T> callback) {
       
       		Assert.notNull(callback);
       
       		try {
       			return callback.doInSession(getSession());
      		} catch (DataAccessException e) {
       			throw translateExceptionIfPossible(e);
       		}
       	}
      

        Attachments

          Activity

            People

            Assignee:
            jblum John Blum
            Reporter:
            mp911de Mark Paluch
            Last updater:
            Spring Issues Spring Issues
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 20 weeks, 3 days ago