Class RemoteRepositoryException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by
              extended by org.eclipse.jgit.errors.TransportException
                  extended by org.eclipse.jgit.errors.RemoteRepositoryException
All Implemented Interfaces:

public class RemoteRepositoryException
extends TransportException

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:
Serialized Form

Constructor Summary
RemoteRepositoryException(URIish uri, String message)
          Constructs a RemoteRepositoryException for a message.
Method Summary
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public RemoteRepositoryException(URIish uri,
                                 String message)
Constructs a RemoteRepositoryException for a message.

uri - URI used for transport
message - message, exactly as supplied by the remote repository. May contain LFs (newlines) if the remote formatted it that way.

Copyright © 2013. All Rights Reserved.