@Override public Credentials prompt(final Host bookmark, final String title, final String reason, final LoginOptions options) throws LoginCanceledException { throw new LoginCanceledException(); } }
@Override public void open(final Host host, final Path workdir) throws AccessDeniedException { throw new LocalAccessDeniedException("Disabled"); } }
@Override public X509Certificate choose(String[] keyTypes, final Principal[] issuers, final Host bookmark, final String prompt) throws ConnectionCanceledException { throw new ConnectionCanceledException(prompt); } }
@Override public Path move(final Path file, final Path renamed, final TransferStatus status, final Delete.Callback callback, final ConnectionCallback connectionCallback) throws BackgroundException { throw new InteroperabilityException("Not supported"); }
/** * @return Detailed message from the underlying cause. */ public String getDetail() { return this.getDetail(true); }
@Override public DescriptiveUrl toUploadUrl(final Path file, final Object o, final PasswordCallback callback) throws BackgroundException { throw new UnsupportedException(); } }
@Override public void chunk(final Path parent, final AttributedList<Path> list) throws ListCanceledException { throw new ListCanceledException(list); } });
@Override public void warn(final Host bookmark, final String title, final String message, final String continueButton, final String disconnectButton, final String preference) throws ConnectionCanceledException { throw new ConnectionCanceledException(); }
@Override public Credentials prompt(final Host bookmark, final String username, final String title, final String reason, final LoginOptions options) throws LoginCanceledException { throw new LoginCanceledException(); }
@Override public DescriptiveUrl toUploadUrl(final Path file, final Void none, final PasswordCallback callback) throws BackgroundException { throw new UnsupportedException(); } }
@Override public void chunk(final Path parent, final AttributedList<Path> list) throws ListCanceledException { throw new ListCanceledException(list); } });
@Override public void configure(final boolean enable, final Path file) throws BackgroundException { throw new ConnectionCanceledException(); } }
@Override public void warn(final Host bookmark, final String title, final String message, final String continueButton, final String disconnectButton, final String preference) throws LoginCanceledException { throw new LoginCanceledException(); }
@Override public void setPermission(final Path file, final Acl acl) throws BackgroundException { throw new UnsupportedException(); }
private String wrap(final String input) throws ConnectionCanceledException { if(null == input) { throw new ConnectionCanceledException(); } return input; }
@Override public Credentials prompt(final Host bookmark, final String title, final String reason, final LoginOptions options) throws LoginCanceledException { throw new LoginCanceledException(); } }
private char[] wrap(final char[] input) throws ConnectionCanceledException { if(null == input) { throw new ConnectionCanceledException(); } return input; } }
@Override public Credentials prompt(final Host bookmark, final String title, final String reason, final LoginOptions options) throws LoginCanceledException { throw new LoginCanceledException(); } }
public SFTPEngine sftp() throws LoginCanceledException { if(null == sftp) { throw new LoginCanceledException(); } return sftp; }
@Override public Local select(final Local identity) throws LoginCanceledException { throw new LoginCanceledException(); }