Package org.eclipse.jgit.errors
Class PackProtocolException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.eclipse.jgit.errors.TransportException
-
- org.eclipse.jgit.errors.PackProtocolException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
WantNotValidException
public class PackProtocolException extends TransportException
Indicates a protocol error has occurred while fetching/pushing objects.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description PackProtocolException(java.lang.String s)
Constructs an PackProtocolException with the specified detail message.PackProtocolException(java.lang.String s, java.lang.Throwable cause)
Constructs an PackProtocolException with the specified detail message.PackProtocolException(URIish uri, java.lang.String s)
Constructs an PackProtocolException with the specified detail message prefixed with provided URI.PackProtocolException(URIish uri, java.lang.String s, java.lang.Throwable cause)
Constructs an PackProtocolException with the specified detail message prefixed with provided URI.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PackProtocolException
public PackProtocolException(URIish uri, java.lang.String s)
Constructs an PackProtocolException with the specified detail message prefixed with provided URI.- Parameters:
uri
- URI used for transports
- message, which may be shown to an end-user.
-
PackProtocolException
public PackProtocolException(URIish uri, java.lang.String s, java.lang.Throwable cause)
Constructs an PackProtocolException with the specified detail message prefixed with provided URI.- Parameters:
uri
- URI used for transports
- message, which may be shown to an end-user.cause
- root cause exception
-
PackProtocolException
public PackProtocolException(java.lang.String s)
Constructs an PackProtocolException with the specified detail message.- Parameters:
s
- message, which may be shown to an end-user.
-
PackProtocolException
public PackProtocolException(java.lang.String s, java.lang.Throwable cause)
Constructs an PackProtocolException with the specified detail message.- Parameters:
s
- message, which may be shown to an end-user.cause
- root cause exception
-
-