org.eclipse.jgit.errors
Class PackProtocolException

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
                  extended by org.eclipse.jgit.errors.PackProtocolException
All Implemented Interfaces:
Serializable

public class PackProtocolException
extends TransportException

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

See Also:
Serialized Form

Constructor Summary
PackProtocolException(String s)
          Constructs an PackProtocolException with the specified detail message.
PackProtocolException(String s, Throwable cause)
          Constructs an PackProtocolException with the specified detail message.
PackProtocolException(URIish uri, String s)
          Constructs an PackProtocolException with the specified detail message prefixed with provided URI.
PackProtocolException(URIish uri, String s, Throwable cause)
          Constructs an PackProtocolException 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

PackProtocolException

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

Parameters:
uri - URI used for transport
s - message

PackProtocolException

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

Parameters:
uri - URI used for transport
s - message
cause - root cause exception

PackProtocolException

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

Parameters:
s - message

PackProtocolException

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

Parameters:
s - message
cause - root cause exception


Copyright © 2012. All Rights Reserved.