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 Details

    • SolrExceptionTranslator

      public SolrExceptionTranslator()
  • Method Details

    • translateExceptionIfPossible

      public org.springframework.dao.DataAccessException translateExceptionIfPossible(RuntimeException ex)
      Specified by:
      translateExceptionIfPossible in interface org.springframework.dao.support.PersistenceExceptionTranslator