Class PackProtocolException

  • All Implemented Interfaces:
    java.io.Serializable

    public class PackProtocolException
    extends TransportException
    Indicates a protocol error has occurred while fetching/pushing objects.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      PackProtocolException​(java.lang.String s)
      Constructs an PackProtocolException with the specified detail message.
      PackProtocolException​(java.lang.String s, java.lang.Throwable cause)
      Constructs an PackProtocolException with the specified detail message.
      PackProtocolException​(URIish uri, java.lang.String s)
      Constructs an PackProtocolException with the specified detail message prefixed with provided URI.
      PackProtocolException​(URIish uri, java.lang.String s, java.lang.Throwable cause)
      Constructs an PackProtocolException with the specified detail message prefixed with provided URI.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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,
                                     java.lang.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,
                                     java.lang.String s,
                                     java.lang.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​(java.lang.String s)
        Constructs an PackProtocolException with the specified detail message.
        Parameters:
        s - message
      • PackProtocolException

        public PackProtocolException​(java.lang.String s,
                                     java.lang.Throwable cause)
        Constructs an PackProtocolException with the specified detail message.
        Parameters:
        s - message
        cause - root cause exception