Top Description Fields Constructors
org.eclipse.jgit.errors

public Class PackProtocolException

extends TransportException
Class Inheritance
Known Direct Subclasses
org.eclipse.jgit.transport.WantNotValidException
Imports
org.eclipse.jgit.transport.URIish

Indicates a protocol error has occurred while fetching/pushing objects.

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
PackProtocolException(URIish
URI used for transport
uri
,
String
message, which may be shown to an end-user.
s
)

Constructs an PackProtocolException with the specified detail message prefixed with provided URI.

public
PackProtocolException(final URIish
URI used for transport
uri
,
final String
message, which may be shown to an end-user.
s
,
final Throwable
root cause exception
cause
)

Constructs an PackProtocolException with the specified detail message prefixed with provided URI.

public
PackProtocolException(String
message, which may be shown to an end-user.
s
)

Constructs an PackProtocolException with the specified detail message.

public
PackProtocolException(String
message, which may be shown to an end-user.
s
,
Throwable
root cause exception
cause
)

Constructs an PackProtocolException with the specified detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.eclipse.jgit.errors.TransportException.serialVersionUID.

Constructor Detail

PackProtocolExceptionback to summary
public PackProtocolException(URIish uri, String s)

Constructs an PackProtocolException with the specified detail message prefixed with provided URI.

Parameters
uri:URIish

URI used for transport

s:String

message, which may be shown to an end-user.

PackProtocolExceptionback to summary
public PackProtocolException(final URIish uri, final String s, final Throwable cause)

Constructs an PackProtocolException with the specified detail message prefixed with provided URI.

Parameters
uri:URIish

URI used for transport

s:String

message, which may be shown to an end-user.

cause:Throwable

root cause exception

PackProtocolExceptionback to summary
public PackProtocolException(String s)

Constructs an PackProtocolException with the specified detail message.

Parameters
s:String

message, which may be shown to an end-user.

PackProtocolExceptionback to summary
public PackProtocolException(String s, Throwable cause)

Constructs an PackProtocolException with the specified detail message.

Parameters
s:String

message, which may be shown to an end-user.

cause:Throwable

root cause exception