Class KeyValuePersistenceExceptionTranslator
java.lang.Object
org.springframework.data.keyvalue.core.KeyValuePersistenceExceptionTranslator
- All Implemented Interfaces:
PersistenceExceptionTranslator
public class KeyValuePersistenceExceptionTranslator
extends Object
implements PersistenceExceptionTranslator
Simple
PersistenceExceptionTranslator
implementation for key/value stores that converts the given runtime
exception to an appropriate exception from the org.springframework.dao
hierarchy.- Author:
- Christoph Strobl, Mark Paluch
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
KeyValuePersistenceExceptionTranslator
public KeyValuePersistenceExceptionTranslator()
-
-
Method Details
-
translateExceptionIfPossible
- Specified by:
translateExceptionIfPossible
in interfacePersistenceExceptionTranslator
-