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
.
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and Description |
---|
WantNotValidException(AnyObjectId id)
Construct a
"want $id not valid" exception. |
WantNotValidException(AnyObjectId id,
java.lang.Throwable cause)
Construct a
"want $id not valid" exception. |
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
msg(AnyObjectId id) |
private static final long serialVersionUID
public WantNotValidException(AnyObjectId id)
"want $id not valid"
exception.id
- invalid object identifier received from the client.public WantNotValidException(AnyObjectId id, java.lang.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.private static java.lang.String msg(AnyObjectId id)