Class SolrExceptionTranslator
java.lang.Object
org.springframework.data.solr.core.SolrExceptionTranslator
- All Implemented Interfaces:
org.springframework.dao.support.PersistenceExceptionTranslator
public class SolrExceptionTranslator
extends Object
implements org.springframework.dao.support.PersistenceExceptionTranslator
Implementation of
PersistenceExceptionTranslator capable of translating
SolrServerException instances to Spring's
DataAccessException hierarchy.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.dao.DataAccessException
-
Constructor Details
-
SolrExceptionTranslator
public SolrExceptionTranslator()
-
-
Method Details
-
translateExceptionIfPossible
public org.springframework.dao.DataAccessException translateExceptionIfPossible(RuntimeException ex) - Specified by:
translateExceptionIfPossiblein interfaceorg.springframework.dao.support.PersistenceExceptionTranslator
-