public class AmbiguousObjectException extends IOException
AbbreviatedObjectId
cannot be extended.Constructor and Description |
---|
AmbiguousObjectException(AbbreviatedObjectId id,
Collection<ObjectId> candidates)
Construct a MissingObjectException for the specified object id.
|
Modifier and Type | Method and Description |
---|---|
AbbreviatedObjectId |
getAbbreviatedObjectId() |
Collection<ObjectId> |
getCandidates() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AmbiguousObjectException(AbbreviatedObjectId id, Collection<ObjectId> candidates)
id
- SHA-1candidates
- the candidate matches returned by the ObjectReader.public AbbreviatedObjectId getAbbreviatedObjectId()
public Collection<ObjectId> getCandidates()
Copyright © 2018 Eclipse JGit Project. All rights reserved.