public BackgroundException map(final IOException failure, final Path directory) {
        return super.map("Connection failed", failure, directory);
    }
@Test
    public void testPlaceholder() {
        final BackgroundException e = new DefaultIOExceptionMappingService().map("{0} message", new SocketException("s"),
            new Path("/n", EnumSet.of(Path.Type.directory, Path.Type.volume)));
        assertEquals("N message.", e.getMessage());
        assertEquals("S. The connection attempt was rejected. The server may be down, or your network may not be properly configured.", e.getDetail());
    }