Package org.springframework.data.solr

Examples of org.springframework.data.solr.UncategorizedSolrException


      SolrServer solrServer = this.getSolrServer();
      return action.doInSolr(solrServer);
    } catch (Exception e) {
      DataAccessException resolved = getExceptionTranslator().translateExceptionIfPossible(
          new RuntimeException(e.getMessage(), e));
      throw resolved == null ? new UncategorizedSolrException(e.getMessage(), e) : resolved;
    }
  }
View Full Code Here


            case UNAUTHORIZED:
              return new PermissionDeniedDataAccessException(solrException.getMessage(), solrException);
            case BAD_REQUEST:
              return new InvalidDataAccessApiUsageException(solrException.getMessage(), solrException);
            case UNKNOWN:
              return new UncategorizedSolrException(solrException.getMessage(), solrException);
            default:
              break;
          }
        }
      } else if (solrServerException.getCause() instanceof ConnectException) {
View Full Code Here

TOP

Related Classes of org.springframework.data.solr.UncategorizedSolrException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.