org.eclipse.jgit.errors
Class TransportException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.eclipse.jgit.errors.TransportException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MissingBundlePrerequisiteException, NoRemoteRepositoryException, PackProtocolException, RemoteRepositoryException, RepositoryNotFoundException

public class TransportException
extends IOException

Indicates a protocol error has occurred while fetching/pushing objects.

See Also:
Serialized Form

Constructor Summary
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
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

TransportException

public TransportException(URIish uri,
                          String s)
Constructs an TransportException with the specified detail message prefixed with provided URI.

Parameters:
uri - URI used for transport
s - 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 transport
s - message
cause - root cause exception

TransportException

public TransportException(String s)
Constructs an TransportException with the specified detail message.

Parameters:
s - message

TransportException

public TransportException(String s,
                          Throwable cause)
Constructs an TransportException with the specified detail message.

Parameters:
s - message
cause - root cause exception


Copyright © 2012. All Rights Reserved.