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:
Serializable
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:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstruct a"want $id not valid"
exception.WantNotValidException
(AnyObjectId id, Throwable cause) Construct a"want $id not valid"
exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
WantNotValidException
Construct a"want $id not valid"
exception.- Parameters:
id
- invalid object identifier received from the client.
-
WantNotValidException
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 Details
-
msg
-