Package org.eclipse.jgit.errors
Class RemoteRepositoryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.eclipse.jgit.errors.TransportException
org.eclipse.jgit.errors.RemoteRepositoryException
- All Implemented Interfaces:
Serializable
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.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRemoteRepositoryException
(URIish uri, String message) Constructs a RemoteRepositoryException for a message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
RemoteRepositoryException
Constructs a RemoteRepositoryException for a message.- Parameters:
uri
- URI used for transportmessage
- message, exactly as supplied by the remote repository. May contain LFs (newlines) if the remote formatted it that way.
-