org.springframework.data.solr.core
Class SolrExceptionTranslator
java.lang.Object
org.springframework.data.solr.core.SolrExceptionTranslator
- All Implemented Interfaces:
- PersistenceExceptionTranslator
public class SolrExceptionTranslator
- extends Object
- implements PersistenceExceptionTranslator
Implementation of PersistenceExceptionTranslator capable of translating
SolrServerException instances to Spring's
DataAccessException hierarchy.
- Author:
- Christoph Strobl
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SolrExceptionTranslator
public SolrExceptionTranslator()
translateExceptionIfPossible
public DataAccessException translateExceptionIfPossible(RuntimeException ex)
- Specified by:
translateExceptionIfPossible in interface PersistenceExceptionTranslator
Copyright © 2011-2014-2014 Pivotal. All Rights Reserved.