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

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

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

Subclasses of GitAPIException in org.eclipse.jgit.api
Modifier and Type | Class and Description
--- | ---
`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
Modifier and Type | Method and Description
--- | ---
`RevCommit` | StashCreateCommand.`call()` Stash the contents on the working directory and index in separate commits and reset to the current HEAD commit.
`Properties` | GarbageCollectCommand.`call()`
`Ref` | TagCommand.`call()` Executes the `tag` command with all the options and parameters collected by the setter methods of this class.
`DirCache` | RmCommand.`call()` Executes the `Rm` command.
`Collection<Ref>` | LsRemoteCommand.`call()` Executes the `LsRemote` command with all the options and parameters collected by the setter methods (e.g.
`FetchResult` | FetchCommand.`call()` Executes the `fetch` command with all the options and parameters collected by the setter methods of this class.
`RevCommit` | CommitCommand.`call()` Executes the `commit` command with all the options and parameters collected by the setter methods of this class.
`Note` | ShowNoteCommand.`call()`
`MergeResult` | MergeCommand.`call()` Executes the `Merge` command with all the options and parameters collected by the setter methods (e.g.
`List<String>` | DeleteTagCommand.`call()`
`List<Ref>` | ListTagCommand.`call()`
`ObjectId` | StashApplyCommand.`call()` Apply the changes in a stashed commit to the working directory and index
`Git` | CloneCommand.`call()` Executes the `Clone` command.
`RebaseResult` | RebaseCommand.`call()` Executes the `Rebase` command with all the options and parameters collected by the setter methods of this class.
`BlameResult` | BlameCommand.`call()` Generate a list of lines with information about when the lines were introduced into the file path.
`Collection<String>` | SubmoduleUpdateCommand.`call()` Execute the SubmoduleUpdateCommand command.
`Collection<ReflogEntry>` | ReflogCommand.`call()` Run the reflog command
`Collection<RevCommit>` | StashListCommand.`call()`
`Git` | InitCommand.`call()` Executes the `Init` command.
`List<String>` | DeleteBranchCommand.`call()`
`Ref` | CreateBranchCommand.`call()`
`RevCommit` | RevertCommand.`call()` Executes the `revert` command with all the options and parameters collected by the setter methods (e.g.
`Set<String>` | CleanCommand.`call()` Executes the `clean` command with all the options and parameters collected by the setter methods of this class.
`abstract T` | GitCommand.`call()` Executes the command
`DirCache` | AddCommand.`call()` Executes the `Add` command.
`Iterable<RevCommit>` | LogCommand.`call()` Executes the `Log` command with all the options and parameters collected by the setter methods (e.g.
`Map<ObjectId,String>` | NameRevCommand.`call()`
`Ref` | ResetCommand.`call()` Executes the `Reset` command.
`List<Note>` | ListNotesCommand.`call()`
`Repository` | SubmoduleAddCommand.`call()`
`Note` | RemoveNoteCommand.`call()`
`Collection<String>` | SubmoduleInitCommand.`call()`
`Ref` | RenameBranchCommand.`call()`
`PullResult` | PullCommand.`call()` Executes the `Pull` command with all the options and parameters collected by the setter methods (e.g.
`List<Ref>` | ListBranchCommand.`call()`
`OutputStream` | ArchiveCommand.`call()`
`String` | DescribeCommand.`call()` Describes the specified commit.
`Map<String,String>` | SubmoduleSyncCommand.`call()`
`Status` | StatusCommand.`call()` Executes the `Status` command with all the options and parameters collected by the setter methods of this class.
`Iterable<PushResult>` | PushCommand.`call()` Executes the `push` command with all the options and parameters collected by the setter methods of this class.
`CherryPickResult` | CherryPickCommand.`call()` Executes the `Cherry-Pick` command with all the options and parameters collected by the setter methods (e.g.
`Map<String,SubmoduleStatus>` | SubmoduleStatusCommand.`call()`
`ApplyResult` | ApplyCommand.`call()` Executes the `ApplyCommand` command with all the options and parameters collected by the setter methods (e.g.
`Note` | AddNoteCommand.`call()`
`Ref` | CheckoutCommand.`call()`
`List<DiffEntry>` | DiffCommand.`call()` Executes the `Diff` command with all the options and parameters collected by the setter methods (e.g.
`ObjectId` | StashDropCommand.`call()` Drop the configured entry from the stash reflog and return value of the stash reference after the drop occurs
`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
Modifier and Type | Class and Description
--- | ---
`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` | `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.