1 package net.jaekl.qd.util;
3 import java.io.Closeable;
4 import java.io.IOException;
6 import net.jaekl.qd.QDException;
8 public class ExceptionUtils {
9 public static void tryClose(Closeable closeable) throws QDException {
11 if (null != closeable) {
15 catch (IOException ioe) {
16 throw new QDException(ioe);