public class WantNotValidException extends PackProtocolException
Typically visible only inside of the server implementation; clients are
usually looking at the text message from the server in a generic
PackProtocolException
.
Constructor and Description |
---|
WantNotValidException(AnyObjectId id)
Construct a
"want $id not valid" exception. |
WantNotValidException(AnyObjectId id,
Throwable cause)
Construct a
"want $id not valid" exception. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public WantNotValidException(AnyObjectId id)
"want $id not valid"
exception.id
- invalid object identifier received from the client.public WantNotValidException(AnyObjectId id, Throwable cause)
"want $id not valid"
exception.id
- invalid object identifier received from the client.cause
- root cause of the object being invalid, such as an IOException
from the storage system.Copyright © 2020 Eclipse JGit Project. All rights reserved.