Package org.eclipse.jgit.api.errors
Exceptions thrown by API commands.
-
Exception Summary Exception Description AbortedByHookException Exception thrown when a hook returns a process result with a value different from 0.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
referenceEmptyCommitException Exception thrown when a newly created commit does not contain any changesFilterFailedException Exception thrown when the execution of a filter command failedGitAPIException 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 oneRefNotAdvertisedException Thrown when a ref is not found in advertised refsRefNotFoundException Thrown when a Ref can not be resolvedServiceUnavailableException Exception thrown when an optional service is not availableStashApplyFailureException Thrown from StashApplyCommand when stash apply failsTooLargeObjectInPackException Exception thrown when PackParser finds an object larger than a predefined limitTooLargePackException Exception thrown when the server rejected a too large packTransportException Exception thrown when transport operation failedUnmergedPathsException Thrown when branch deletion fails due to unmerged dataUnsupportedSigningFormatException Exception thrown when the configured gpg.format is not supported.WrongObjectTypeException A given object is not of an expected object type.WrongRepositoryStateException Exception thrown when the state of the repository doesn't allow the execution of a certain command.