Serializable
public class AmbiguousObjectException extends IOException
AbbreviatedObjectId
cannot be extended.Constructor | Description |
---|---|
AmbiguousObjectException(AbbreviatedObjectId id,
Collection<ObjectId> candidates) |
Construct a MissingObjectException for the specified object id.
|
Modifier and Type | Method | Description |
---|---|---|
AbbreviatedObjectId |
getAbbreviatedObjectId() |
|
Collection<ObjectId> |
getCandidates() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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. All rights reserved.