Exceptions thrown by lower-level JGit APIs.
Enum Summary Enum Description CorruptPackIndexException.ErrorTypeThe error type of a corrupt index file. NoMergeBaseException.MergeBaseFailureReasonAn enum listing the different reason why no merge base could be determined.
Exception Summary Exception Description AmbiguousObjectExceptionAn
AbbreviatedObjectIdcannot be extended.
BinaryBlobExceptionBinaryBlobException is used to signal that binary data was found in a context that requires text (eg. CancelledExceptionThrown when an operation was canceled CheckoutConflictExceptionException thrown if a conflict occurs during a merge checkout. CommandFailedExceptionThrown when an external command failed CompoundExceptionAn exception detailing multiple reasons for failure. ConfigInvalidExceptionIndicates a text string is not a valid Git style configuration. CorruptObjectExceptionException thrown when an object cannot be read from Git. CorruptPackIndexExceptionException thrown when encounters a corrupt pack index file. DiffInterruptedExceptionThrown when a thread executing a diff is interrupted DirCacheNameConflictExceptionThrown by DirCache code when entries overlap in impossible way. EntryExistsExceptionAttempt to add an entry to a tree that already exists. IllegalTodoFileModificationAttempt to modify a rebase-todo file in an unsupported way IncorrectObjectTypeExceptionAn inconsistency with respect to handling different object types. IndexReadExceptionCannot read the index. IndexWriteExceptionCannot write a modified index. InvalidObjectIdExceptionThrown when an invalid object id is passed in as an argument. InvalidPatternExceptionThrown when a pattern passed in an argument was wrong. LargeObjectExceptionAn object is too big to load into memory as a single byte array. LargeObjectException.ExceedsByteArrayLimitObject size exceeds JVM limit of 2 GiB per byte array. LargeObjectException.ExceedsLimitObject size exceeds the caller's upper limit. LargeObjectException.OutOfMemoryAn error caused by the JVM being out of heap space. LockFailedExceptionAn exception occurring when a file cannot be locked MissingBundlePrerequisiteExceptionIndicates a base/common object was required, but is not found. MissingObjectExceptionAn expected object is missing. NoClosingBracketExceptionThrown when a pattern contains a character group which is open to the right side or a character class which is open to the right side. NoMergeBaseExceptionException thrown if a merge fails because no merge base could be determined. NoPackSignatureExceptionThrown when a Pack is found not to contain the pack signature defined by git. NoRemoteRepositoryExceptionIndicates a remote repository does not exist. NotSupportedExceptionJGit encountered a case that it knows it cannot yet handle. NoWorkTreeExceptionIndicates a
Repositoryhas no working directory, and is thus bare.
ObjectWritingExceptionCannot store an object in the object database. PackInvalidExceptionThrown when a Pack previously failed and is known to be unusable PackMismatchExceptionThrown when a Pack no longer matches the PackIndex. PackProtocolExceptionIndicates a protocol error has occurred while fetching/pushing objects. RemoteRepositoryExceptionContains a message from the remote repository indicating a problem. RepositoryNotFoundExceptionIndicates a local repository does not exist. RevisionSyntaxExceptionThis signals a revision or object reference was not properly formatted. RevWalkExceptionIndicates a checked exception was thrown inside of
SearchForReuseTimeoutThrown when the search for reuse phase times out. StopWalkExceptionStops the driver loop of walker and finish with current results. StoredObjectRepresentationNotAvailableExceptionA previously selected representation is no longer available. SymlinksNotSupportedExceptionAn exception thrown when a symlink entry is found and cannot be handled. TooLargeObjectInPackExceptionThrown when PackParser finds an object larger than a predefined limit TooLargePackExceptionThrown when a pack exceeds a given size limit TranslationBundleExceptionCommon base class for all translation bundle related exceptions. TranslationBundleLoadingExceptionThis exception will be thrown when a translation bundle loading fails. TranslationStringMissingExceptionThis exception will be thrown when a translation string for a translation bundle and locale is missing. TransportExceptionIndicates a protocol error has occurred while fetching/pushing objects. UnmergedPathExceptionIndicates one or more paths in a DirCache have non-zero stages present. UnpackExceptionIndicates a ReceivePack failure while scanning the pack stream. UnsupportedCredentialItem UnsupportedPackIndexVersionExceptionThrown when a PackIndex uses an index version not supported by JGit. UnsupportedPackVersionExceptionThrown when a Pack uses a pack version not supported by JGit.