public BackgroundException map(final IOException failure, final Path directory) {
        return super.map("Connection failed", failure, directory);
    }
@Test
    public void testSSLHandshakeCertificateDismissed() {
        final SSLHandshakeException c = new SSLHandshakeException("f");
        c.initCause(new CertificateException("c"));
        assertEquals(ConnectionCanceledException.class,
            new DefaultIOExceptionMappingService().map(c).getClass());
    }