Uses of Class
org.eclipse.jgit.errors.TransportException
Packages that use TransportException
Package
Description
Exceptions thrown by lower-level JGit APIs.
Transport (fetch/push) for different protocols.
Provides a JGit
SshSessionFactory
implemented via JSch.Provides a JGit
SshSessionFactory
implemented via Apache MINA
sshd.-
Uses of TransportException in org.eclipse.jgit.errors
Subclasses of TransportException in org.eclipse.jgit.errorsModifier and TypeClassDescriptionclassIndicates a base/common object was required, but is not found.classIndicates a remote repository does not exist.classIndicates a protocol error has occurred while fetching/pushing objects.classContains a message from the remote repository indicating a problem.classIndicates a local repository does not exist.classThrown when PackParser finds an object larger than a predefined limitclassThrown when a pack exceeds a given size limit -
Uses of TransportException in org.eclipse.jgit.transport
Subclasses of TransportException in org.eclipse.jgit.transportModifier and TypeClassDescriptionclassIndicates client requested an object the server does not want to serve.Methods in org.eclipse.jgit.transport that return TransportExceptionModifier and TypeMethodDescriptionprotected TransportExceptionBasePackConnection.noRepository(Throwable cause) Create an exception to indicate problems finding a remote repository.protected TransportExceptionBasePackPushConnection.noRepository(Throwable cause) Create an exception to indicate problems finding a remote repository.Methods in org.eclipse.jgit.transport that throw TransportExceptionModifier and TypeMethodDescriptionprivate voidFetchProcess.addUpdateBatchCommands(FetchResult result, BatchRefUpdate batch) private booleanWalkFetchConnection.alreadyHave(AnyObjectId id) private booleanFetchProcess.askForIsComplete()(package private) voidTransportGitSsh.checkExecFailure(int status, String exe, String why) private HttpConnectionprivate HttpConnectionTransportHttp.connect(String service, TransferConfig.ProtocolVersion protocolVersion) private voidWalkPushConnection.createNewRepository(List<RemoteRefUpdate> updates) private TrackingRefUpdateFetchProcess.createUpdate(RefSpec spec, ObjectId newId) protected abstract voidBaseFetchConnection.doFetch(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have) Implementation ofBaseFetchConnection.fetch(ProgressMonitor, Collection, Set)without checking for multiple fetch.protected voidBasePackFetchConnection.doFetch(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have, OutputStream outputStream) Execute common ancestor negotiation and fetch the objects.protected voidBundleFetchConnection.doFetch(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have) Implementation ofBaseFetchConnection.fetch(ProgressMonitor, Collection, Set)without checking for multiple fetch.protected voidTransportHttp.SmartHttpFetchConnection.doFetch(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have, OutputStream outputStream) protected voidWalkFetchConnection.doFetch(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have) Implementation ofBaseFetchConnection.fetch(ProgressMonitor, Collection, Set)without checking for multiple fetch.protected voidBasePackPushConnection.doPush(ProgressMonitor monitor, Map<String, RemoteRefUpdate> refUpdates, OutputStream outputStream) Push one or more objects and update the remote repository.protected voidTransportHttp.SmartHttpPushConnection.doPush(ProgressMonitor monitor, Map<String, RemoteRefUpdate> refUpdates, OutputStream outputStream) private booleanWalkFetchConnection.downloadLooseObject(AnyObjectId id, String looseName, WalkRemoteObjectDatabase remote) private voidWalkFetchConnection.downloadObject(ProgressMonitor pm, AnyObjectId id) private booleanWalkFetchConnection.downloadPackedObject(ProgressMonitor monitor, AnyObjectId id) private StringBasePackFetchConnection.enableCapabilities()(package private) voidFetchProcess.execute(ProgressMonitor monitor, FetchResult result, String initialBranch) (package private) PushResultPushProcess.execute(ProgressMonitor monitor) Perform push operation between local and remote repository - set remote refs appropriately, send needed objects and update local tracking refs.private voidFetchProcess.executeImp(ProgressMonitor monitor, FetchResult result, String initialBranch) private Collection<Ref>FetchProcess.expandAutoFollowTags()private voidFetchProcess.expandFetchTags()private Map<String,RemoteRefUpdate> PushProcess.expandMatching()Expands all placeholderRemoteRefUpdates for "matching"RefSpecs ":" inPushProcess.toPushand returns the resulting map in which the placeholders have been replaced by their expansion.private voidPushProcess.expandMatching(Map<String, RemoteRefUpdate> updates, RemoteRefUpdate match) Expands the placeholderRemoteRefUpdatematchfor a "matching"RefSpec":" or "+:" and puts the expansion into the given mapupdates.private voidFetchProcess.expandSingle(RefSpec spec, Set<Ref> matched) private voidFetchProcess.expandWildcard(RefSpec spec, Set<Ref> matched) final voidBaseFetchConnection.fetch(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have) Fetch objects we don't have but that are reachable from advertised refs.final voidBaseFetchConnection.fetch(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have, OutputStream out) Fetch objects we don't have but that are reachable from advertised refs.final voidBasePackFetchConnection.fetch(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have) Fetch objects we don't have but that are reachable from advertised refs.final voidBasePackFetchConnection.fetch(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have, OutputStream outputStream) Fetch objects we don't have but that are reachable from advertised refs.voidFetchConnection.fetch(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have) Fetch objects we don't have but that are reachable from advertised refs.voidFetchConnection.fetch(ProgressMonitor monitor, Collection<Ref> want, Set<ObjectId> have, OutputStream out) Fetch objects we don't have but that are reachable from advertised refs.Transport.fetch(ProgressMonitor monitor, Collection<RefSpec> toFetch) Fetch objects and refs from the remote repository to the local one.Transport.fetch(ProgressMonitor monitor, Collection<RefSpec> toFetch, String branch) Fetch objects and refs from the remote repository to the local one.private voidFetchProcess.fetchObjects(ProgressMonitor monitor) BasePackFetchConnection.getCapabilitiesV2(Set<String> advertisedCapabilities) abstract RemoteSessionSshSessionFactory.getSession(URIish uri, CredentialsProvider credentialsProvider, FS fs, int tms) Opens (or reuses) a session to a host.protected RemoteSessionSshTransport.getSession()Get the default SSH sessionprivate voidTransportHttp.handleSslFailure(Throwable e) private booleanPushProcess.isFastForward(ObjectId oldOid, ObjectId newOid) Determines whether an update fromoldOidtonewOidis a fast-forward update: both old and new must be commits, AND both of them must be known to us and exist in the repository, AND the old commit must be an ancestor of the new commit.private booleanFetchProcess.localHasObject(ObjectId id) FetchProcess.localRefs()protected voidBasePackConnection.lsRefs(Collection<RefSpec> refSpecs, String... additionalPatterns) Issue a protocol V2 ls-refs command and read its response.private voidWalkFetchConnection.markLocalCommitsComplete(int until) private voidWalkFetchConnection.markLocalRefsComplete(Set<ObjectId> have) protected voidBaseConnection.markStartedOperation()Helper method for ensuring one-operation per connection.TestProtocol.open(URIish uri, Repository local, String remoteName) Open a Transport instance to the other repository.static TransportTransport.open(Repository local, String remote) Open a new transport instance to connect two repositories.static TransportTransport.open(Repository local, String remote, Transport.Operation op) Open a new transport instance to connect two repositories.static TransportTransport.open(Repository local, RemoteConfig cfg) Open a new transport instance to connect two repositories.static TransportTransport.open(Repository local, RemoteConfig cfg, Transport.Operation op) Open a new transport instance to connect two repositories.static TransportTransport.open(Repository local, URIish uri) Open a new transport instance to connect two repositories.static TransportTransport.open(Repository local, URIish uri, String remoteName) Open a new transport instance to connect two repositories.static TransportOpen a new transport with no local repository.Open a new transport instance to the remote repository.abstract TransportTransportProtocol.open(URIish uri, Repository local, String remoteName) Open a Transport instance to the other repository.Transport.openAll(Repository local, String remote) Open new transport instances to connect two repositories.Transport.openAll(Repository local, String remote, Transport.Operation op) Open new transport instances to connect two repositories.Transport.openAll(Repository local, RemoteConfig cfg) Open new transport instances to connect two repositories.Transport.openAll(Repository local, RemoteConfig cfg, Transport.Operation op) Open new transport instances to connect two repositories.(package private) SocketTransportGitAnon.openConnection()TestProtocol.TransportInternal.openFetch()abstract FetchConnectionTransport.openFetch()Begins a new connection for fetching from the remote repository.Transport.openFetch(Collection<RefSpec> refSpecs, String... additionalPatterns) Begins a new connection for fetching from the remote repository.TransportAmazonS3.openFetch()Begins a new connection for fetching from the remote repository.TransportBundleFile.openFetch()Begins a new connection for fetching from the remote repository.TransportBundleStream.openFetch()Begins a new connection for fetching from the remote repository.TransportGitAnon.openFetch()Begins a new connection for fetching from the remote repository.TransportGitAnon.openFetch(Collection<RefSpec> refSpecs, String... additionalPatterns) TransportGitSsh.openFetch()Begins a new connection for fetching from the remote repository.TransportGitSsh.openFetch(Collection<RefSpec> refSpecs, String... additionalPatterns) TransportHttp.openFetch()Begins a new connection for fetching from the remote repository.TransportHttp.openFetch(Collection<RefSpec> refSpecs, String... additionalPatterns) TransportLocal.openFetch()Begins a new connection for fetching from the remote repository.TransportLocal.openFetch(Collection<RefSpec> refSpecs, String... additionalPatterns) TransportSftp.openFetch()Begins a new connection for fetching from the remote repository.TestProtocol.TransportInternal.openPush()abstract PushConnectionTransport.openPush()Begins a new connection for pushing into the remote repository.TransportAmazonS3.openPush()Begins a new connection for pushing into the remote repository.TransportGitAnon.openPush()Begins a new connection for pushing into the remote repository.TransportGitSsh.openPush()Begins a new connection for pushing into the remote repository.TransportHttp.openPush()Begins a new connection for pushing into the remote repository.TransportLocal.openPush()Begins a new connection for pushing into the remote repository.TransportSftp.openPush()Begins a new connection for pushing into the remote repository.private RepositoryTransportLocal.openRepo()private Map<String,RemoteRefUpdate> PushProcess.prepareRemoteUpdates()private voidprivate voidWalkFetchConnection.processBlob(RevObject obj) private voidWalkFetchConnection.processCommit(RevObject obj) private voidWalkFetchConnection.processTree(RevObject obj) voidBasePackPushConnection.push(ProgressMonitor monitor, Map<String, RemoteRefUpdate> refUpdates) Pushes to the remote repository basing on provided specification.voidBasePackPushConnection.push(ProgressMonitor monitor, Map<String, RemoteRefUpdate> refUpdates, OutputStream outputStream) Pushes to the remote repository basing on provided specification.voidPushConnection.push(ProgressMonitor monitor, Map<String, RemoteRefUpdate> refUpdates) Pushes to the remote repository basing on provided specification.voidPushConnection.push(ProgressMonitor monitor, Map<String, RemoteRefUpdate> refUpdates, OutputStream out) Pushes to the remote repository basing on provided specification.Transport.push(ProgressMonitor monitor, Collection<RemoteRefUpdate> toPush) Push objects and refs from the local repository to the remote one.Transport.push(ProgressMonitor monitor, Collection<RemoteRefUpdate> toPush, OutputStream out) Push objects and refs from the local repository to the remote one.voidWalkPushConnection.push(ProgressMonitor monitor, Map<String, RemoteRefUpdate> refUpdates) Pushes to the remote repository basing on provided specification.voidWalkPushConnection.push(ProgressMonitor monitor, Map<String, RemoteRefUpdate> refUpdates, OutputStream out) Pushes to the remote repository basing on provided specification.private voidWalkFetchConnection.queueWants(Collection<Ref> want) protected booleanBasePackConnection.readAdvertisedRefs()Reads the advertised references through the initialized stream.TransportAmazonS3.DatabaseS3.readAdvertisedRefs()TransportSftp.SftpObjectDB.readAdvertisedRefs()private voidTransportAmazonS3.DatabaseS3.readLooseRefs(TreeMap<String, Ref> avail) private voidprotected voidWalkRemoteObjectDatabase.readPackedRefs(Map<String, Ref> avail) Read a standard Git packed-refs file to discover known references.private Refprivate Refprivate URIishprivate voidFetchProcess.reopenConnection()private voidWalkPushConnection.sendpack(List<RemoteRefUpdate> updates, ProgressMonitor monitor) private PushConnectionTransportHttp.smartPush(String service, HttpConnection c, InputStream in) protected ProcessSpawn processprivate ProcessTransportLocal.spawn(String cmd, TransferConfig.ProtocolVersion protocolVersion) Spawn processprivate voidBundleFetchConnection.verifyPrerequisites()private voidprivate voidConstructors in org.eclipse.jgit.transport that throw TransportExceptionModifierConstructorDescription(package private)BundleFetchConnection(Transport transportBundle, InputStream src) (package private)(package private)ForkLocalFetchConnection(Collection<RefSpec> refSpecs, String... additionalPatterns) (package private)InternalFetchConnection(PackTransport transport, UploadPackFactory<C> uploadPackFactory, C req, Repository remote) Constructor for InternalFetchConnection.InternalPushConnection(PackTransport transport, ReceivePackFactory<C> receivePackFactory, C req, Repository remote) Constructor for InternalPushConnection.(package private)PushProcess(Transport transport, Collection<RemoteRefUpdate> toPush, PrePushHook prePush) Create process for specified transport and refs updates specification.(package private)PushProcess(Transport transport, Collection<RemoteRefUpdate> toPush, PrePushHook prePush, OutputStream out) Create process for specified transport and refs updates specification.(package private)SftpObjectDB(String path) (package private)SftpObjectDB(TransportSftp.SftpObjectDB parent, String p) (package private)SmartHttpFetchConnection(InputStream advertisement) (package private)SmartHttpFetchConnection(InputStream advertisement, Collection<RefSpec> refSpecs, String... additionalPatterns) (package private)SmartHttpPushConnection(InputStream advertisement) (package private)(package private)SshFetchConnection(Collection<RefSpec> refSpecs, String... additionalPatterns) (package private)(package private)(package private)TcpFetchConnection(Collection<RefSpec> refSpecs, String... additionalPatterns) (package private) -
Uses of TransportException in org.eclipse.jgit.transport.ssh.jsch
Methods in org.eclipse.jgit.transport.ssh.jsch that throw TransportExceptionModifier and TypeMethodDescriptionJschConfigSessionFactory.getSession(URIish uri, CredentialsProvider credentialsProvider, FS fs, int tms) Opens (or reuses) a session to a host.Constructors in org.eclipse.jgit.transport.ssh.jsch that throw TransportExceptionModifierConstructorDescription(package private)JschProcess(String commandName, Map<String, String> environment, int tms) Opens a channel on the session ("sock") for executing the given command, opens streams, and starts command execution. -
Uses of TransportException in org.eclipse.jgit.transport.sshd
Methods in org.eclipse.jgit.transport.sshd that throw TransportExceptionModifier and TypeMethodDescriptionSshdSessionFactory.getSession(URIish uri, CredentialsProvider credentialsProvider, FS fs, int tms)