Package org.eclipse.jgit.errors
Exceptions thrown by lower-level JGit APIs.
-
Enum Summary Enum Description CorruptPackIndexException.ErrorType The error type of a corrupt index file.NoMergeBaseException.MergeBaseFailureReason An enum listing the different reason why no merge base could be determined. -
Exception Summary Exception Description AmbiguousObjectException AnAbbreviatedObjectId
cannot be extended.BinaryBlobException BinaryBlobException is used to signal that binary data was found in a context that requires text (eg.CancelledException Thrown when an operation was canceledCheckoutConflictException Exception thrown if a conflict occurs during a merge checkout.CommandFailedException Thrown when an external command failedCompoundException An exception detailing multiple reasons for failure.ConfigInvalidException Indicates a text string is not a valid Git style configuration.CorruptObjectException Exception thrown when an object cannot be read from Git.CorruptPackIndexException Exception thrown when encounters a corrupt pack index file.DiffInterruptedException Thrown when a thread executing a diff is interruptedDirCacheNameConflictException Thrown by DirCache code when entries overlap in impossible way.EntryExistsException Attempt to add an entry to a tree that already exists.IllegalTodoFileModification Attempt to modify a rebase-todo file in an unsupported wayIncorrectObjectTypeException An inconsistency with respect to handling different object types.IndexReadException Cannot read the index.IndexWriteException Cannot write a modified index.InvalidObjectIdException Thrown when an invalid object id is passed in as an argument.InvalidPatternException Thrown when a pattern passed in an argument was wrong.LargeObjectException An object is too big to load into memory as a single byte array.LargeObjectException.ExceedsByteArrayLimit Object size exceeds JVM limit of 2 GiB per byte array.LargeObjectException.ExceedsLimit Object size exceeds the caller's upper limit.LargeObjectException.OutOfMemory An error caused by the JVM being out of heap space.LockFailedException An exception occurring when a file cannot be lockedMissingBundlePrerequisiteException Indicates a base/common object was required, but is not found.MissingObjectException An expected object is missing.NoClosingBracketException Thrown 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.NoMergeBaseException Exception thrown if a merge fails because no merge base could be determined.NoPackSignatureException Thrown when a Pack is found not to contain the pack signature defined by git.NoRemoteRepositoryException Indicates a remote repository does not exist.NotSupportedException JGit encountered a case that it knows it cannot yet handle.NoWorkTreeException Indicates aRepository
has no working directory, and is thus bare.ObjectWritingException Cannot store an object in the object database.PackInvalidException Thrown when a Pack previously failed and is known to be unusablePackMismatchException Thrown when a Pack no longer matches the PackIndex.PackProtocolException Indicates a protocol error has occurred while fetching/pushing objects.RemoteRepositoryException Contains a message from the remote repository indicating a problem.RepositoryNotFoundException Indicates a local repository does not exist.RevisionSyntaxException This signals a revision or object reference was not properly formatted.RevWalkException Indicates a checked exception was thrown inside ofRevWalk
.SearchForReuseTimeout Thrown when the search for reuse phase times out.StopWalkException Stops the driver loop of walker and finish with current results.StoredObjectRepresentationNotAvailableException A previously selected representation is no longer available.SymlinksNotSupportedException An exception thrown when a symlink entry is found and cannot be handled.TooLargeObjectInPackException Thrown when PackParser finds an object larger than a predefined limitTooLargePackException Thrown when a pack exceeds a given size limitTranslationBundleException Common base class for all translation bundle related exceptions.TranslationBundleLoadingException This exception will be thrown when a translation bundle loading fails.TranslationStringMissingException This exception will be thrown when a translation string for a translation bundle and locale is missing.TransportException Indicates a protocol error has occurred while fetching/pushing objects.UnmergedPathException Indicates one or more paths in a DirCache have non-zero stages present.UnpackException Indicates a ReceivePack failure while scanning the pack stream.UnsupportedCredentialItem An exception thrown when aCredentialItem
is requested from aCredentialsProvider
which is not supported by this provider.UnsupportedPackIndexVersionException Thrown when a PackIndex uses an index version not supported by JGit.UnsupportedPackVersionException Thrown when a Pack uses a pack version not supported by JGit.