@Test public void testMap() { assertEquals(ConnectionRefusedException.class, new DefaultIOExceptionMappingService().map(new SocketException("Software caused connection abort")).getClass()); assertEquals(ConnectionRefusedException.class, new DefaultIOExceptionMappingService().map(new SocketException("Socket closed")).getClass()); }
public BackgroundException map(final IOException failure, final Path directory) { return super.map("Connection failed", failure, directory); }
DefaultIOExceptionMappingService extends AbstractExceptionMappingService<IOException> { public BackgroundException map(final IOException failure, final Path directory) { return super.map("Connection failed", failure, directory); } }
DefaultIOExceptionMappingService extends AbstractExceptionMappingService<IOException> { public BackgroundException map(final IOException failure, final Path directory) { return super.map("Connection failed", failure, directory); }  }
DefaultIOExceptionMappingService extends AbstractExceptionMappingService<IOException> { public BackgroundException map(final IOException failure, final Path directory) { return super.map("Connection failed", failure, directory); }  BackgroundException map(final IOException failure, final Path directory); @Override BackgroundException map(final IOException failure); }
DefaultIOExceptionMappingService extends AbstractExceptionMappingService<IOException> { public BackgroundException map(final IOException failure, final Path directory) { return super.map("Connection failed", failure, directory); }  BackgroundException map(final IOException failure, final Path directory); @Override BackgroundException map(final IOException failure);  }