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 e) |
public KeyValuePersistenceExceptionTranslator()
public DataAccessException translateExceptionIfPossible(RuntimeException e)
translateExceptionIfPossible
in interface PersistenceExceptionTranslator
Copyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.