Project

General

Profile

« Previous | Next » 

Revision 7658

Added by Jing Tao about 11 years ago

Catch a new exception base on the change of the calling method.

View differences:

metacat-index/src/test/java/edu/ucsb/nceas/metacat/index/SolrIndexIT.java
149 149
            CoreContainer container = SolrServerFactory.getCoreContainer();
150 150
            core = container.getCore("collection1");
151 151
            xmlWriter.write(w, new LocalSolrQueryRequest(core, request), sResponse);
152
        } catch (IOException e) {
152
        } catch (Exception e) {
153 153
            throw new RuntimeException("Unable to convert Solr response into XML", e);
154 154
        }
155 155
        return w.toString();

Also available in: Unified diff