Package org.eclipse.jgit.api.errors
Exceptions thrown by API commands.
-
Exception Summary Exception Description CanceledException Exception thrown when an operation was canceledCannotDeleteCurrentBranchException Thrown when trying to delete a branch which is currently checked outCheckoutConflictException Exception thrown when a command can't succeed because of unresolved conflicts.ConcurrentRefUpdateException Exception thrown when a command wants to update a ref but failed because another process is accessing (or even also updating) the ref.DetachedHeadException Exception thrown when a command expected a non-detachedHEAD
referenceGitAPIException Superclass of all exceptions thrown by the API classes inorg.eclipse.jgit.api
InvalidConfigurationException Exception thrown when a command fails due to an invalid configurationInvalidMergeHeadsException Exception thrown when a merge command was called without specifying the proper amount/type of merge heads.InvalidRebaseStepException Exception thrown if a rebase step is invalid.InvalidRefNameException Exception thrown when an invalid Ref name was encounteredInvalidRemoteException Exception thrown when a fetch command was called with an invalid remoteInvalidTagNameException Exception thrown when a tag command was called with an invalid tag name (or null), such as bad~tag.JGitInternalException Exception thrown when during command execution a low-level exception from the JGit library is thrown.MultipleParentsNotAllowedException The commit to be cherry-pick'ed did not have exactly one parentNoFilepatternException Exception thrown when the options given to a command don't include a file pattern which is mandatory for processing.NoHeadException Exception thrown when a command expected theHEAD
reference to exist but couldn't find such a referenceNoMessageException Exception thrown when the options given to a command don't include a specification of a message text (e.g.NotMergedException Thrown when branch deletion fails due to unmerged dataPatchApplyException Exception thrown when applying a patch failsPatchFormatException Exception thrown when applying a patch fails due to an invalid formatRefAlreadyExistsException Thrown when trying to create aRef
with the same name as an existing oneRefNotFoundException Thrown when a Ref can not be resolvedRejectCommitException Exception thrown when a commit is rejected by a hook (eitherpre-commit
orcommit-msg
).StashApplyFailureException Thrown from StashApplyCommand when stash apply failsTransportException Exception thrown when transport operation failedUnmergedPathsException Thrown when branch deletion fails due to unmerged dataWrongRepositoryStateException Exception thrown when the state of the repository doesn't allow the execution of a certain command.