Package org.eclipse.jgit.errors
Class TransportException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- org.eclipse.jgit.errors.TransportException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
MissingBundlePrerequisiteException
,NoRemoteRepositoryException
,PackProtocolException
,RemoteRepositoryException
,RepositoryNotFoundException
public class TransportException extends java.io.IOException
Indicates a protocol error has occurred while fetching/pushing objects.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TransportException(java.lang.String s)
Constructs an TransportException with the specified detail message.TransportException(java.lang.String s, java.lang.Throwable cause)
Constructs an TransportException with the specified detail message.TransportException(URIish uri, java.lang.String s)
Constructs an TransportException with the specified detail message prefixed with provided URI.TransportException(URIish uri, java.lang.String s, java.lang.Throwable cause)
Constructs an TransportException with the specified detail message prefixed with provided URI.
-
-
-
Constructor Detail
-
TransportException
public TransportException(URIish uri, java.lang.String s)
Constructs an TransportException with the specified detail message prefixed with provided URI.- Parameters:
uri
- URI used for transports
- message
-
TransportException
public TransportException(URIish uri, java.lang.String s, java.lang.Throwable cause)
Constructs an TransportException with the specified detail message prefixed with provided URI.- Parameters:
uri
- URI used for transports
- messagecause
- root cause exception
-
TransportException
public TransportException(java.lang.String s)
Constructs an TransportException with the specified detail message.- Parameters:
s
- message
-
TransportException
public TransportException(java.lang.String s, java.lang.Throwable cause)
Constructs an TransportException with the specified detail message.- Parameters:
s
- messagecause
- root cause exception
-
-