public class CassandraExceptionTranslator extends Object implements PersistenceExceptionTranslator
PersistenceExceptionTranslator for Cassandra. Convert the given runtime exception to an appropriate
exception from the org.springframework.dao hierarchy. Return null if no translation is
appropriate: any other exception may have resulted from user code, and should not be translated.| Constructor and Description |
|---|
CassandraExceptionTranslator() |
| Modifier and Type | Method and Description |
|---|---|
DataAccessException |
translateExceptionIfPossible(RuntimeException x) |
public DataAccessException translateExceptionIfPossible(RuntimeException x)
translateExceptionIfPossible in interface PersistenceExceptionTranslatorCopyright © 2011-2014–2015 Pivotal Software, Inc.. All rights reserved.