@Override
    public BackgroundException map(final IOException e) {
        final StringBuilder buffer = new StringBuilder();
        this.append(buffer, e.getMessage());
        if(e instanceof FTPConnectionClosedException) {
            return new ConnectionRefusedException(buffer.toString(), e);
        }
        if(e instanceof FTPException) {
            return this.handle((FTPException) e, buffer);
        }
        if(e instanceof MalformedServerReplyException) {
            return new InteroperabilityException(buffer.toString(), e);
        }
        return new DefaultIOExceptionMappingService().map(e);
    }
@Test
    public void testFile() {
        assertTrue(new FTPExceptionMappingService().map(new FTPException(550, "")) instanceof NotfoundException);
    }