## Uses of Class
org.eclipse.jgit.api.errors.GitAPIException

Packages that use GitAPIException
org.eclipse.jgit.api: High-level API commands (the porcelain of JGit).
org.eclipse.jgit.api.errors: Exceptions thrown by API commands.
org.eclipse.jgit.gitrepo

### Uses of GitAPIException in org.eclipse.jgit.api

Subclasses of GitAPIException in org.eclipse.jgit.api
`static class` `ArchiveCommand.UnsupportedFormatException` Signals an attempt to use an archival format that ArchiveCommand doesn't know about (for example due to a typo).

Methods in org.eclipse.jgit.api that throw GitAPIException
`Repository` SubmoduleAddCommand.`call()` Executes the `SubmoduleAddCommand` The `Repository` instance returned by this command needs to be closed by the caller to free resources held by the `Repository` instance.
`Ref` ResetCommand.`call()` Executes the `Reset` command.
`abstract T` GitCommand.`call()` Executes the command
`Iterable<RevCommit>` LogCommand.`call()` Executes the `Log` command with all the options and parameters collected by the setter methods (e.g.
`ObjectId` StashApplyCommand.`call()` Apply the changes in a stashed commit to the working directory and index
`Ref` CreateBranchCommand.`call()`
`Iterable<PushResult>` PushCommand.`call()` Executes the `push` command with all the options and parameters collected by the setter methods of this class.
`Git` InitCommand.`call()` Executes the `Init` command.
`RevCommit` CommitCommand.`call()` Executes the `commit` command with all the options and parameters collected by the setter methods of this class.
`MergeResult` MergeCommand.`call()` Executes the `Merge` command with all the options and parameters collected by the setter methods (e.g.
`Ref` CheckoutCommand.`call()`
`Note` RemoveNoteCommand.`call()`
`Collection<String>` SubmoduleInitCommand.`call()`
`Note` AddNoteCommand.`call()`
`Map<ObjectId,String>` NameRevCommand.`call()`
`Ref` RenameBranchCommand.`call()`
`PullResult` PullCommand.`call()` Executes the `Pull` command with all the options and parameters collected by the setter methods (e.g.
`Ref` TagCommand.`call()` Executes the `tag` command with all the options and parameters collected by the setter methods of this class.
`List<Ref>` ListTagCommand.`call()`
`RevCommit` RevertCommand.`call()` Executes the `revert` command with all the options and parameters collected by the setter methods (e.g.
`List<Ref>` ListBranchCommand.`call()`
`Status` StatusCommand.`call()` Executes the `Status` command with all the options and parameters collected by the setter methods of this class.
`Map<String,SubmoduleStatus>` SubmoduleStatusCommand.`call()`
`List<String>` DeleteBranchCommand.`call()`
`DirCache` RmCommand.`call()` Executes the `Rm` command.
`Note` ShowNoteCommand.`call()`
`Collection<Ref>` LsRemoteCommand.`call()` Executes the `LsRemote` command with all the options and parameters collected by the setter methods (e.g.
`List<Note>` ListNotesCommand.`call()`
`CherryPickResult` CherryPickCommand.`call()` Executes the `Cherry-Pick` command with all the options and parameters collected by the setter methods (e.g.
`RebaseResult` RebaseCommand.`call()` Executes the `Rebase` command with all the options and parameters collected by the setter methods of this class.
`Set<String>` CleanCommand.`call()` Executes the `clean` command with all the options and parameters collected by the setter methods of this class.
`Properties` GarbageCollectCommand.`call()`
`DirCache` AddCommand.`call()` Executes the `Add` command.
`Git` CloneCommand.`call()` Executes the `Clone` command.
`FetchResult` FetchCommand.`call()` Executes the `fetch` command with all the options and parameters collected by the setter methods of this class.
`List<String>` DeleteTagCommand.`call()`
`Collection<String>` SubmoduleUpdateCommand.`call()` Execute the SubmoduleUpdateCommand command.
`List<DiffEntry>` DiffCommand.`call()` Executes the `Diff` command with all the options and parameters collected by the setter methods (e.g.
`RevCommit` StashCreateCommand.`call()` Stash the contents on the working directory and index in separate commits and reset to the current HEAD commit.
`ApplyResult` ApplyCommand.`call()` Executes the `ApplyCommand` command with all the options and parameters collected by the setter methods (e.g.
`Collection<RevCommit>` StashListCommand.`call()`
`ObjectId` StashDropCommand.`call()` Drop the configured entry from the stash reflog and return value of the stash reference after the drop occurs
`BlameResult` BlameCommand.`call()` Generate a list of lines with information about when the lines were introduced into the file path.
`OutputStream` ArchiveCommand.`call()`
`Map<String,String>` SubmoduleSyncCommand.`call()`
`String` DescribeCommand.`call()` Describes the specified commit.
`Collection<ReflogEntry>` ReflogCommand.`call()` Run the reflog command
`Map<String,Ref>` LsRemoteCommand.`callAsMap()` Same as `LsRemoteCommand.call()`, but return Map instead of Collection.
`Properties` GarbageCollectCommand.`getStatistics()` Computes and returns the repository statistics.
`RevCommit` RebaseCommand.`tryFastForward(RevCommit newCommit)` checks 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.errors
`class` `CanceledException` Exception thrown when an operation was canceled
`class` `CannotDeleteCurrentBranchException` Thrown when trying to delete a branch which is currently checked out
`class` `CheckoutConflictException` Exception thrown when a command can't succeed because of unresolved conflicts.
`class` `ConcurrentRefUpdateException` Exception thrown when a command wants to update a ref but failed because another process is accessing (or even also updating) the ref.
`class` `DetachedHeadException` Exception thrown when a command expected a non-detached `HEAD` reference
`class` `InvalidConfigurationException` Exception thrown when a command fails due to an invalid configuration
`class` `InvalidMergeHeadsException` Exception thrown when a merge command was called without specifying the proper amount/type of merge heads.
`class` `InvalidRebaseStepException` Exception thrown if a rebase step is invalid.
`class` `InvalidRefNameException` Exception thrown when an invalid Ref name was encountered
`class` `InvalidRemoteException` Exception thrown when a fetch command was called with an invalid remote
`class` `InvalidTagNameException` Exception thrown when a tag command was called with an invalid tag name (or null), such as bad~tag.
`class` `MultipleParentsNotAllowedException` The commit to be cherry-pick'ed did not have exactly one parent
`class` `NoFilepatternException` Exception thrown when the options given to a command don't include a file pattern which is mandatory for processing.
`class` `NoHeadException` Exception thrown when a command expected the `HEAD` reference to exist but couldn't find such a reference
`class` `NoMessageException` Exception thrown when the options given to a command don't include a specification of a message text (e.g.
`class` `NotMergedException` Thrown when branch deletion fails due to unmerged data
`class` `PatchApplyException` Exception thrown when applying a patch fails
`class` `PatchFormatException` Exception thrown when applying a patch fails due to an invalid format
`class` `RefAlreadyExistsException` Thrown when trying to create a `Ref` with the same name as an existing one
`class` `RefNotFoundException` Thrown when a Ref can not be resolved
`class` `RejectCommitException` Exception thrown when a commit is rejected by a hook (either `pre-commit` or `commit-msg`).
`class` `StashApplyFailureException` Thrown from StashApplyCommand when stash apply fails
`class` `TransportException` Exception thrown when transport operation failed
`class` `UnmergedPathsException` Thrown when branch deletion fails due to unmerged data
`class` `WrongRepositoryStateException` 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

Methods in org.eclipse.jgit.gitrepo that throw GitAPIException
`RevCommit` RepoCommand.`call()`
`byte[]` RepoCommand.RemoteReader.`readFile(String uri, String ref, String path)` Read a file from a remote repository.
`byte[]` RepoCommand.DefaultRemoteReader.`readFile(String uri, String ref, String path)`
`protected byte[]` RepoCommand.DefaultRemoteReader.`readFileFromRepo(Repository repo, String ref, String path)` Read a file from the repository
`InputStream` RepoCommand.IncludedFileReader.`readIncludeFile(String path)` Read a file from the same base dir of the manifest xml file.
`ObjectId` RepoCommand.RemoteReader.`sha1(String uri, String ref)` Read a remote ref sha1.
`ObjectId` RepoCommand.DefaultRemoteReader.`sha1(String uri, String ref)`