Top Description Fields Constructors
org.eclipse.jgit.errors

public Class RemoteRepositoryException

extends TransportException
Class Inheritance
Imports
org.eclipse.jgit.transport.URIish

Contains a message from the remote repository indicating a problem.

Some remote repositories may send customized error messages describing why they cannot be accessed. These messages are wrapped up in this exception and thrown to the caller of the transport operation.

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
RemoteRepositoryException(URIish
URI used for transport
uri
,
String
message, exactly as supplied by the remote repository. May contain LFs (newlines) if the remote formatted it that way.
message
)

Constructs a RemoteRepositoryException for a message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

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

Constructor Detail

RemoteRepositoryExceptionback to summary
public RemoteRepositoryException(URIish uri, String message)

Constructs a RemoteRepositoryException for a message.

Parameters
uri:URIish

URI used for transport

message:String

message, exactly as supplied by the remote repository. May contain LFs (newlines) if the remote formatted it that way.