@SuppressWarnings({"unchecked", "rawtypes"})
	public static void wrapAndThrowIgnoring(Throwable t, Class... ignored) {
		if (ignored != null) {
			for (Class<? extends Exception> e : ignored) {
				if (e.isAssignableFrom(t.getClass())) {
					return;
				}
			}
		}
		throw wrapThrowable(t);
	}
Throw a wrapped exception ignoring specific Exception types, if any.
@param t the throwable
@param ignored a varargs list of ignored exception types
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/zookeeper/ZooKeeperUtils.java