- 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
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
-
-
Constructor Summary
Constructors Constructor Description WantNotValidException(AnyObjectId id)Construct 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
-
-
-
-
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, 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.
-
-