public static void tryFail(CompletionHandler handler, Throwable t) {
        if (handler == null) {
            return;
        }
        try {
            handler.failed(t);
        } catch (Exception e) {
            // ignore
        }
    }
Various utilities for {@link CompletionHandler}.

@author Simon Thoresen Hult
@author bjorncs
container-core/src/main/java/com/yahoo/jdisc/http/server/jetty/CompletionHandlers.java