@FunctionalInterface public interface ExceptionTranslator
org.springframework.dao.support.PersistenceExceptionTranslator.
org.neo4j.ogm.drivers.bolt.response.BoltResponse
keeps an open result set which might throw a org.neo4j.driver.v1.exceptions.ServiceUnavailableException at
a very late stage.
org.neo4j.ogm.session.Neo4jSession. It uses this translator to
translate driver specific exceptions into exception declared in the Neo4j-OGM api.
| Modifier and Type | Method and Description |
|---|---|
RuntimeException |
translateExceptionIfPossible(Throwable e)
Deprecated.
|
@Deprecated RuntimeException translateExceptionIfPossible(Throwable e)
e - Exception to translatee if a translation is not possible.Copyright © 2015–2023 Neo Technology, Inc.. All rights reserved.