public class KeyValuePersistenceExceptionTranslator extends Object implements org.springframework.dao.support.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 |
---|---|
org.springframework.dao.DataAccessException |
translateExceptionIfPossible(RuntimeException e) |
public KeyValuePersistenceExceptionTranslator()
public org.springframework.dao.DataAccessException translateExceptionIfPossible(RuntimeException e)
translateExceptionIfPossible
in interface org.springframework.dao.support.PersistenceExceptionTranslator
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.