Searched defs:priorException (Results 1 - 1 of 1) sorted by relevance

/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/
H A DIOUtils.java53 * may be null, they are ignored. After everything is closed, method either throws <tt>priorException</tt>,
69 * @param priorException <tt>null</tt> or an exception that will be rethrown after method completion
72 public static <E extends Exception> void closeWhileHandlingException(E priorException, Closeable... objects) throws E, IOException { argument
81 addSuppressed((priorException == null) ? th : priorException, t);
88 if (priorException != null) {
89 throw priorException;
99 public static <E extends Exception> void closeWhileHandlingException(E priorException, Iterable<? extends Closeable> objects) throws E, IOException { argument
108 addSuppressed((priorException == null) ? th : priorException,
[all...]

Completed in 25 milliseconds