| Modifier and Type | Class and Description |
|---|---|
| public class | AbortedByHookException
Exception thrown when a hook returns a process result with a value different from 0. |
| public class | CanceledException
Exception thrown when an operation was canceled |
| public class | CannotDeleteCurrentBranchException
Thrown when trying to delete a branch which is currently checked out |
| public class | CheckoutConflictException
Exception thrown when a command can't succeed because of unresolved conflicts. |
| public 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. |
| public class | DetachedHeadException
Exception thrown when a command expected a non-detached |
| public class | EmptyCommitException
Exception thrown when a newly created commit does not contain any changes |
| public class | FilterFailedException
Exception thrown when the execution of a filter command failed |
| public abstract class | GitAPIException
Superclass of all exceptions thrown by the API classes in
|
| public class | InvalidConfigurationException
Exception thrown when a command fails due to an invalid configuration |
| public class | InvalidMergeHeadsException
Exception thrown when a merge command was called without specifying the proper amount/type of merge heads. |
| public class | InvalidRebaseStepException
Exception thrown if a rebase step is invalid. |
| public class | InvalidRefNameException
Exception thrown when an invalid Ref name was encountered |
| public class | InvalidRemoteException
Exception thrown when a fetch command was called with an invalid remote |
| public class | InvalidTagNameException
Exception thrown when a tag command was called with an invalid tag name (or null), such as bad~tag. |
| public class | JGitInternalException
Exception thrown when during command execution a low-level exception from the JGit library is thrown. |
| public class | MultipleParentsNotAllowedException
The commit to be cherry-pick'ed did not have exactly one parent |
| public class | NoFilepatternException
Exception thrown when the options given to a command don't include a file pattern which is mandatory for processing. |
| public class | NoHeadException
Exception thrown when a command expected the |
| public class | NoMessageException
Exception thrown when the options given to a command don't include a specification of a message text (e.g. a commit was called without explicitly specifying a commit message (or other options telling where to take the message from. |
| public class | NotMergedException
Thrown when branch deletion fails due to unmerged data |
| public class | PatchApplyException
Exception thrown when applying a patch fails |
| public class | PatchFormatException
Exception thrown when applying a patch fails due to an invalid format |
| public class | RefAlreadyExistsException
Thrown when trying to create a |
| public class | RefNotAdvertisedException
Thrown when a ref is not found in advertised refs |
| public class | RefNotFoundException
Thrown when a Ref can not be resolved |
| public class | ServiceUnavailableException
Exception thrown when an optional service is not available |
| public class | StashApplyFailureException
Thrown from StashApplyCommand when stash apply fails |
| public class | TooLargeObjectInPackException
Exception thrown when PackParser finds an object larger than a predefined limit |
| public class | TooLargePackException
Exception thrown when the server rejected a too large pack |
| public class | TransportException
Exception thrown when transport operation failed |
| public class | UnmergedPathsException
Thrown when branch deletion fails due to unmerged data |
| public class | UnsupportedSigningFormatException
Exception thrown when the configured gpg.format is not supported. |
| public class | WrongObjectTypeException
A given object is not of an expected object type. |
| public class | WrongRepositoryStateException
Exception thrown when the state of the repository doesn't allow the execution of a certain command. |