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
Indicates a protocol error has occurred while fetching/pushing objects.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumMore detailed exception status -
Constructor Summary
ConstructorsConstructorDescriptionConstructs an TransportException with the specified detail message.TransportException(String s, Throwable cause) Constructs an TransportException with the specified detail message.TransportException(String s, TransportException.Status status, Throwable cause) Same asTransportException(String, Throwable)+ statusTransportException(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.TransportException(URIish uri, String s, TransportException.Status status) Same asTransportException(URIish, String)+ statusTransportException(URIish uri, String s, TransportException.Status status, Throwable cause) Same asTransportException(URIish, String, Throwable)+ status -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TransportException
Constructs an TransportException with the specified detail message prefixed with provided URI.- Parameters:
uri- URI used for transports- message
-
TransportException
Same asTransportException(URIish, String)+ status- Parameters:
uri- see aboves- see abovestatus- status
-
TransportException
Constructs an TransportException with the specified detail message prefixed with provided URI.- Parameters:
uri- URI used for transports- messagecause- root cause exception
-
TransportException
Same asTransportException(URIish, String, Throwable)+ status- Parameters:
uri- see aboves- see abovestatus- statuscause- see above
-
TransportException
Constructs an TransportException with the specified detail message.- Parameters:
s- message
-
TransportException
Constructs an TransportException with the specified detail message.- Parameters:
s- messagecause- root cause exception
-
TransportException
Same asTransportException(String, Throwable)+ status- Parameters:
s- see abovestatus- statuscause- see above
-
-
Method Details
-
getStatus
Returns status- Returns:
- status
-