/** * Constructs an TransportException with the specified detail message * prefixed with provided URI. * * @param uri * URI used for transport * @param s * message */ public TransportException(URIish uri, String s) { super(uri.setPass(null) + ": " + s); //$NON-NLS-1$ }
/** * Constructs an UnsupportedCredentialItem with the specified detail message * prefixed with provided URI. * * @param uri * URI used for transport * @param s * message */ public UnsupportedCredentialItem(URIish uri, String s) { super(uri.setPass(null) + ": " + s); //$NON-NLS-1$ } }
/** * Construct a too large object in pack exception. * * @param uri * URI used for transport * @param s * message * @since 4.4 */ public TooLargeObjectInPackException(URIish uri, String s) { super(uri.setPass(null) + ": " + s); //$NON-NLS-1$ } }
/** * Construct a too large pack exception. * * @param uri * URI used for transport * @param s * message * @since 4.0 */ public TooLargePackException(URIish uri, String s) { super(uri.setPass(null) + ": " + s); //$NON-NLS-1$ } }
/** * Constructs an TransportException with the specified detail message * prefixed with provided URI. * * @param uri * URI used for transport * @param s * message * @param cause * root cause exception */ public TransportException(final URIish uri, final String s, final Throwable cause) { this(uri.setPass(null) + ": " + s, cause); //$NON-NLS-1$ }
private void handleSslFailure(Throwable e) throws TransportException { if (sslFailure || !trustInsecureSslConnection(e.getCause())) { throw new TransportException(uri, MessageFormat.format( JGitText.get().sslFailureExceptionMessage, currentUri.setPass(null)), e); } sslFailure = true; }
if (LOG.isInfoEnabled()) { LOG.info(MessageFormat.format(JGitText.get().redirectHttp, uri.setPass(null), Integer.valueOf(redirects), baseUrl, result));
private CredentialItems constructSslTrustItems(Throwable cause) { CredentialItems items = new CredentialItems(); String info = MessageFormat.format(JGitText.get().sslFailureInfo, currentUri.setPass(null)); String sslMessage = cause.getLocalizedMessage(); if (sslMessage == null) { sslMessage = cause.toString(); } sslMessage = MessageFormat.format(JGitText.get().sslFailureCause, sslMessage); items.message = new CredentialItem.InformationalMessage(info + '\n' + sslMessage + '\n' + JGitText.get().sslFailureTrustExplanation); items.now = new CredentialItem.YesNoType(JGitText.get().sslTrustNow); if (local != null) { items.forRepo = new CredentialItem.YesNoType( MessageFormat.format(JGitText.get().sslTrustForRepo, local.getDirectory())); } items.always = new CredentialItem.YesNoType( JGitText.get().sslTrustAlways); return items; }
/** * Constructs an TransportException with the specified detail message * prefixed with provided URI. * * @param uri * URI used for transport * @param s * message */ public TransportException(URIish uri, String s) { super(uri.setPass(null) + ": " + s); //$NON-NLS-1$ }
/** * Constructs an TransportException with the specified detail message * prefixed with provided URI. * * @param uri * URI used for transport * @param s * message */ public TransportException(final URIish uri, final String s) { super(uri.setPass(null) + ": " + s); //$NON-NLS-1$ }
/** * Constructs an TransportException with the specified detail message * prefixed with provided URI. * * @param uri * URI used for transport * @param s * message * @param cause * root cause exception */ public TransportException(final URIish uri, final String s, final Throwable cause) { this(uri.setPass(null) + ": " + s, cause); //$NON-NLS-1$ }
/** * Construct a too large object in pack exception. * * @param uri * URI used for transport * @param s * message * @since 4.4 */ public TooLargeObjectInPackException(URIish uri, String s) { super(uri.setPass(null) + ": " + s); //$NON-NLS-1$ } }
/** * Construct a too large pack exception. * * @param uri * URI used for transport * @param s * message * @since 4.0 */ public TooLargePackException(URIish uri, String s) { super(uri.setPass(null) + ": " + s); //$NON-NLS-1$ } }
/** * Constructs an UnsupportedCredentialItem with the specified detail message * prefixed with provided URI. * * @param uri * URI used for transport * @param s * message */ public UnsupportedCredentialItem(final URIish uri, final String s) { super(uri.setPass(null) + ": " + s); //$NON-NLS-1$ } }
/** * Constructs an UnsupportedCredentialItem with the specified detail message * prefixed with provided URI. * * @param uri * URI used for transport * @param s * message */ public UnsupportedCredentialItem(URIish uri, String s) { super(uri.setPass(null) + ": " + s); //$NON-NLS-1$ } }
/** * Construct a too large object in pack exception. * * @param uri * URI used for transport * @param s * message * @since 4.4 */ public TooLargeObjectInPackException(URIish uri, String s) { super(uri.setPass(null) + ": " + s); //$NON-NLS-1$ } }
/** * Construct a too large pack exception. * * @param uri * URI used for transport * @param s * message * @since 4.0 */ public TooLargePackException(URIish uri, String s) { super(uri.setPass(null) + ": " + s); //$NON-NLS-1$ } }
/** * Constructs an TransportException with the specified detail message * prefixed with provided URI. * * @param uri * URI used for transport * @param s * message * @param cause * root cause exception */ public TransportException(final URIish uri, final String s, final Throwable cause) { this(uri.setPass(null) + ": " + s, cause); //$NON-NLS-1$ }
public void modifyText(final ModifyEvent e) { setURI(uri.setPass(null)); password = passText.getText(); } });
private void handleSslFailure(Throwable e) throws TransportException { if (sslFailure || !trustInsecureSslConnection(e.getCause())) { throw new TransportException(uri, MessageFormat.format( JGitText.get().sslFailureExceptionMessage, currentUri.setPass(null)), e); } sslFailure = true; }