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 class
Signals an attempt to use an archival format that ArchiveCommand doesn't know about (for example due to a typo).static class
The user tried to deinitialize a submodule that doesn't exist in the index.Methods in org.eclipse.jgit.api that throw GitAPIExceptionModifier and TypeMethodDescriptionprivate RebaseResult
RebaseCommand.abort
(RebaseResult result) private void
RebaseCommand.autoStash()
private boolean
RebaseCommand.autoStashApply()
RebaseCommand.calculatePickList
(RevCommit headCommit) 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 T
GitCommand.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 void
CloneCommand.checkout
(Repository clonedRepo, FetchResult result) private void
ResetCommand.checkoutIndex
(ObjectId commitTree) private RebaseResult
RebaseCommand.cherryPickCommit
(RevCommit commitToPick) private RebaseResult
RebaseCommand.cherryPickCommitFlattening
(RevCommit commitToPick) private RebaseResult
RebaseCommand.cherryPickCommitPreservingMerges
(RevCommit commitToPick) private void
CloneCommand.cloneSubmodules
(Repository clonedRepo) private RevCommit
RebaseCommand.continueRebase()
private RevCommit
RebaseCommand.doSquashFixup
(boolean isSquash, RevCommit commitToPick, RebaseTodoLine nextStep, File messageFixup, File messageSquash) LsRemoteCommand.execute()
private FetchResult
CloneCommand.fetch
(Repository clonedRepo, URIish u) private void
FetchCommand.fetchSubmodules
(FetchResult results) private RebaseResult
RebaseCommand.finishRebase
(RevCommit finalHead, boolean lastStepIsForward) private Ref
StashCreateCommand.getHead()
private Repository
SubmoduleUpdateCommand.getOrCloneSubmodule
(SubmoduleWalk generator, String url) private Ref
StashDropCommand.getRef()
private ObjectId
StashApplyCommand.getStashId()
GarbageCollectCommand.getStatistics()
Computes and returns the repository statistics.private Repository
CloneCommand.init()
private RebaseResult
RebaseCommand.initFilesAndRewind()
private RebaseResult
RebaseCommand.processStep
(RebaseTodoLine step, boolean shouldPick) private void
RebaseCommand.resetSoftToParent()
private RevCommit
RebaseCommand.squashIntoPrevious
(boolean sequenceContainsSquash, RebaseTodoLine nextStep) private RevCommit
RebaseCommand.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 TypeClassDescriptionclass
Exception thrown when a hook returns a process result with a value different from 0.class
Exception thrown when an operation was canceledclass
Thrown when trying to delete a branch which is currently checked outclass
Exception thrown when a command can't succeed because of unresolved conflicts.class
Exception thrown when a command wants to update a ref but failed because another process is accessing (or even also updating) the ref.class
Exception thrown when a command expected a non-detachedHEAD
referenceclass
Exception thrown when a newly created commit does not contain any changesclass
Exception thrown when the execution of a filter command failedclass
Exception thrown when a command fails due to an invalid configurationclass
Exception thrown when a merge command was called without specifying the proper amount/type of merge heads.class
Exception thrown if a rebase step is invalid.class
Exception thrown when an invalid Ref name was encounteredclass
Exception thrown when a fetch command was called with an invalid remoteclass
Exception thrown when a tag command was called with an invalid tag name (or null), such as bad~tag.class
The commit to be cherry-pick'ed did not have exactly one parentclass
Exception thrown when the options given to a command don't include a file pattern which is mandatory for processing.class
Exception thrown when a command expected theHEAD
reference to exist but couldn't find such a referenceclass
Exception thrown when the options given to a command don't include a specification of a message text (e.g.class
Thrown when branch deletion fails due to unmerged dataclass
Exception thrown when applying a patch failsclass
Exception thrown when applying a patch fails due to an invalid formatclass
Thrown when trying to create aRef
with the same name as an existing oneclass
Thrown when a ref is not found in advertised refsclass
Thrown when a Ref can not be resolvedclass
Exception thrown when an optional service is not availableclass
Thrown from StashApplyCommand when stash apply failsclass
Exception thrown when PackParser finds an object larger than a predefined limitclass
Exception thrown when the server rejected a too large packclass
Exception thrown when transport operation failedclass
Thrown when branch deletion fails due to unmerged dataclass
Exception thrown when the configured gpg.format is not supported.class
A given object is not of an expected object type.class
Exception 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 TypeClassDescriptionprivate static class
private static class
Methods in org.eclipse.jgit.gitrepo that throw GitAPIExceptionModifier and TypeMethodDescriptionprivate void
RepoCommand.addSubmodule
(String name, String url, String path, String revision, List<RepoProject.CopyFile> copyfiles, List<RepoProject.LinkFile> linkfiles, Git git) RepoCommand.call()
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. -
Uses of GitAPIException in org.eclipse.jgit.pgm
Methods in org.eclipse.jgit.pgm that throw GitAPIException
RepoCommand.RemoteReader.readFileWithMode(String, String, String)
instead