Class TooLargePackException

  • All Implemented Interfaces:
    java.io.Serializable

    public class TooLargePackException
    extends TransportException
    Thrown when a pack exceeds a given size limit
    Since:
    3.3
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • 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

      • TooLargePackException

        public TooLargePackException​(long packSizeLimit)
        Construct a too large pack exception.
        Parameters:
        packSizeLimit - the pack size limit (in bytes) that was exceeded
      • TooLargePackException

        public TooLargePackException​(URIish uri,
                                     java.lang.String s)
        Construct a too large pack exception.
        Parameters:
        uri - URI used for transport
        s - message
        Since:
        4.0