Package org.eclipse.jgit.transport
Class WantNotValidException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.eclipse.jgit.errors.TransportException
-
- org.eclipse.jgit.errors.PackProtocolException
-
- org.eclipse.jgit.transport.WantNotValidException
-
- All Implemented Interfaces:
java.io.Serializable
public class WantNotValidException extends PackProtocolException
Indicates client requested an object the server does not want to serve.Typically visible only inside of the server implementation; clients are usually looking at the text message from the server in a generic
PackProtocolException
.- Since:
- 4.3
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static java.lang.String
msg(AnyObjectId id)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WantNotValidException
public WantNotValidException(AnyObjectId id)
Construct a"want $id not valid"
exception.- Parameters:
id
- invalid object identifier received from the client.
-
WantNotValidException
public WantNotValidException(AnyObjectId id, java.lang.Throwable cause)
Construct a"want $id not valid"
exception.- Parameters:
id
- invalid object identifier received from the client.cause
- root cause of the object being invalid, such as an IOException from the storage system.
-
-
Method Detail
-
msg
private static java.lang.String msg(AnyObjectId id)
-
-