public class AmbiguousObjectException
extends java.io.IOException
AbbreviatedObjectId
cannot be extended.Constructor and Description |
---|
AmbiguousObjectException(AbbreviatedObjectId id,
java.util.Collection<ObjectId> candidates)
Construct a MissingObjectException for the specified object id.
|
Modifier and Type | Method and Description |
---|---|
AbbreviatedObjectId |
getAbbreviatedObjectId() |
java.util.Collection<ObjectId> |
getCandidates() |
public AmbiguousObjectException(AbbreviatedObjectId id, java.util.Collection<ObjectId> candidates)
id
- SHA-1candidates
- the candidate matches returned by the ObjectReader.public AbbreviatedObjectId getAbbreviatedObjectId()
public java.util.Collection<ObjectId> getCandidates()
Copyright © 2012. All Rights Reserved.