Uses of Class
org.eclipse.jgit.api.errors.GitAPIException
Packages that use GitAPIException
Package
Description
High-level API commands (the porcelain of JGit).
Exceptions thrown by API commands.
-
Uses of GitAPIException in org.eclipse.jgit.api
Subclasses of GitAPIException in org.eclipse.jgit.apiModifier and TypeClassDescriptionstatic classSignals an attempt to use an archival format that ArchiveCommand doesn't know about (for example due to a typo).static classThe user tried to deinitialize a submodule that doesn't exist in the index.Methods in org.eclipse.jgit.api that throw GitAPIExceptionModifier and TypeMethodDescriptionprivate RebaseResultRebaseCommand.abort(RebaseResult result) private voidRebaseCommand.autoStash()private booleanRebaseCommand.autoStashApply()AddCommand.call()AddNoteCommand.call()ApplyCommand.call()ArchiveCommand.call()BlameCommand.call()CheckoutCommand.call()CherryPickCommand.call()CleanCommand.call()CloneCommand.call()CommitCommand.call()CreateBranchCommand.call()DeleteBranchCommand.call()DeleteTagCommand.call()DescribeCommand.call()DiffCommand.call()FetchCommand.call()GarbageCollectCommand.call()abstract TGitCommand.call()InitCommand.call()ListBranchCommand.call()ListNotesCommand.call()ListTagCommand.call()LogCommand.call()LsRemoteCommand.call()MergeCommand.call()NameRevCommand.call()PullCommand.call()PushCommand.call()RebaseCommand.call()ReflogCommand.call()RemoteAddCommand.call()RemoteListCommand.call()RemoteRemoveCommand.call()RemoteSetUrlCommand.call()RemoveNoteCommand.call()RenameBranchCommand.call()ResetCommand.call()RevertCommand.call()RmCommand.call()ShowNoteCommand.call()StashApplyCommand.call()StashCreateCommand.call()StashDropCommand.call()StashListCommand.call()StatusCommand.call()SubmoduleAddCommand.call()SubmoduleDeinitCommand.call()SubmoduleInitCommand.call()SubmoduleStatusCommand.call()SubmoduleSyncCommand.call()SubmoduleUpdateCommand.call()Execute the SubmoduleUpdateCommand command.TagCommand.call()LsRemoteCommand.callAsMap()Same asLsRemoteCommand.call(), but return Map instead of Collection.SubmoduleDeinitCommand.checkDirty(RevWalk revWalk, String path) Check if a submodule is dirty.private voidCloneCommand.checkout(Repository clonedRepo, FetchResult result) private voidResetCommand.checkoutIndex(ObjectId commitTree) private RebaseResultRebaseCommand.cherryPickCommit(RevCommit commitToPick) private RebaseResultRebaseCommand.cherryPickCommitFlattening(RevCommit commitToPick) private RebaseResultRebaseCommand.cherryPickCommitPreservingMerges(RevCommit commitToPick) private voidCloneCommand.cloneSubmodules(Repository clonedRepo) private RevCommitRebaseCommand.continueRebase()private voidPushCommand.determineDefaultRefSpecs(Config config) private RevCommitRebaseCommand.doSquashFixup(boolean isSquash, RevCommit commitToPick, boolean isLast, File messageFixup, File messageSquash) LsRemoteCommand.execute()private FetchResultCloneCommand.fetch(Repository clonedRepo, URIish u) private voidFetchCommand.fetchSubmodules(FetchResult results) private RebaseResultRebaseCommand.finishRebase(RevCommit finalHead, boolean lastStepIsForward) private RefStashCreateCommand.getHead()private RepositorySubmoduleUpdateCommand.getOrCloneSubmodule(SubmoduleWalk generator, String url) private RefStashDropCommand.getRef()private ObjectIdStashApplyCommand.getStashId()GarbageCollectCommand.getStatistics()Computes and returns the repository statistics.private RepositoryCloneCommand.init()private RebaseResultRebaseCommand.initFilesAndRewind()private RebaseResultRebaseCommand.processStep(RebaseTodoLine step, boolean shouldPick) private voidRebaseCommand.resetSoftToParent()private RevCommitRebaseCommand.squashIntoPrevious(boolean sequenceContainsSquash, boolean isLast) private RevCommitRebaseCommand.tryFastForward(String headName, RevCommit oldCommit, RevCommit newCommit) RebaseCommand.tryFastForward(RevCommit newCommit) Check if we can fast-forward and returns the new head if it is possible -
Uses of GitAPIException in org.eclipse.jgit.api.errors
Subclasses of GitAPIException in org.eclipse.jgit.api.errorsModifier and TypeClassDescriptionclassException thrown when a hook returns a process result with a value different from 0.classException thrown when an operation was canceledclassThrown when trying to delete a branch which is currently checked outclassException thrown when a command can't succeed because of unresolved conflicts.classException thrown when a command wants to update a ref but failed because another process is accessing (or even also updating) the ref.classException thrown when a command expected a non-detachedHEADreferenceclassException thrown when a newly created commit does not contain any changesclassException thrown when the execution of a filter command failedclassException thrown when a command fails due to an invalid configurationclassException thrown when a merge command was called without specifying the proper amount/type of merge heads.classException thrown if a rebase step is invalid.classException thrown when an invalid Ref name was encounteredclassException thrown when a fetch command was called with an invalid remoteclassException thrown when a tag command was called with an invalid tag name (or null), such as bad~tag.classThe commit to be cherry-pick'ed did not have exactly one parentclassException thrown when the options given to a command don't include a file pattern which is mandatory for processing.classException thrown when a command expected theHEADreference to exist but couldn't find such a referenceclassException thrown when the options given to a command don't include a specification of a message text (e.g.classThrown when branch deletion fails due to unmerged dataclassException thrown when applying a patch failsclassException thrown when applying a patch fails due to an invalid formatclassThrown when trying to create aRefwith the same name as an existing oneclassThrown when a ref is not found in advertised refsclassThrown when a Ref can not be resolvedclassException thrown when an optional service is not availableclassThrown from StashApplyCommand when stash apply failsclassException thrown when PackParser finds an object larger than a predefined limitclassException thrown when the server rejected a too large packclassException thrown when transport operation failedclassThrown when branch deletion fails due to unmerged dataclassException thrown when the configured gpg.format is not supported.classA given object is not of an expected object type.classException thrown when the state of the repository doesn't allow the execution of a certain command. -
Uses of GitAPIException in org.eclipse.jgit.gitrepo
Subclasses of GitAPIException in org.eclipse.jgit.gitrepoModifier and TypeClassDescription(package private) static class(package private) static classMethods in org.eclipse.jgit.gitrepo that throw GitAPIExceptionModifier and TypeMethodDescriptionprivate voidRegularSuperprojectWriter.addSubmodule(String name, String url, String path, String revision, List<RepoProject.CopyFile> copyfiles, List<RepoProject.LinkFile> linkfiles, Git git) RepoCommand.call()private voidBareSuperprojectWriter.prepareIndex(List<RepoProject> projects, DirCache index, ObjectInserter inserter) default byte[]Deprecated.RepoCommand.DefaultRemoteReader.readFileWithMode(String uri, String ref, String path) RepoCommand.RemoteReader.readFileWithMode(String uri, String ref, String path) Read contents and mode (i.e.ManifestParser.IncludedFileReader.readIncludeFile(String path) Read a file from the same base dir of the manifest xml file.Read a remote ref sha1.(package private) RevCommitBareSuperprojectWriter.write(List<RepoProject> repoProjects) (package private) RevCommitRegularSuperprojectWriter.write(List<RepoProject> repoProjects) -
Uses of GitAPIException in org.eclipse.jgit.pgm
Methods in org.eclipse.jgit.pgm that throw GitAPIException
RepoCommand.RemoteReader.readFileWithMode(String, String, String)instead