public class KeyValuePersistenceExceptionTranslator extends Object implements PersistenceExceptionTranslator
PersistenceExceptionTranslator implementation for key/value stores that converts the given runtime
exception to an appropriate exception from the org.springframework.dao hierarchy.| Constructor and Description |
|---|
KeyValuePersistenceExceptionTranslator() |
| Modifier and Type | Method and Description |
|---|---|
DataAccessException |
translateExceptionIfPossible(RuntimeException exception) |
public KeyValuePersistenceExceptionTranslator()
@Nullable public DataAccessException translateExceptionIfPossible(RuntimeException exception)
translateExceptionIfPossible in interface PersistenceExceptionTranslatorCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.