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:
Serializable
- Direct Known Subclasses:
MissingBundlePrerequisiteException
,NoRemoteRepositoryException
,PackProtocolException
,RemoteRepositoryException
,RepositoryNotFoundException
,TooLargeObjectInPackException
,TooLargePackException
public class TransportException extends IOException
Indicates a protocol error has occurred while fetching/pushing objects.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TransportException(String s)
Constructs an TransportException with the specified detail message.TransportException(String s, Throwable cause)
Constructs an TransportException with the specified detail message.TransportException(URIish uri, String s)
Constructs an TransportException with the specified detail message prefixed with provided URI.TransportException(URIish uri, String s, Throwable cause)
Constructs an TransportException with the specified detail message prefixed with provided URI.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
TransportException
public TransportException(URIish uri, 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, String s, 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(String s)
Constructs an TransportException with the specified detail message.- Parameters:
s
- message
-
-