Package org.eclipse.jgit.errors
Class TooLargeObjectInPackException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.eclipse.jgit.errors.TransportException
org.eclipse.jgit.errors.TooLargeObjectInPackException
- All Implemented Interfaces:
Serializable
Thrown when PackParser finds an object larger than a predefined limit
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTooLargeObjectInPackException
(long maxObjectSizeLimit) Construct a too large object in pack exception when the exact size of the too large object is not available.TooLargeObjectInPackException
(long objectSize, long maxObjectSizeLimit) Construct a too large object in pack exception when the exact size of the too large object is known.Construct a too large object in pack exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
TooLargeObjectInPackException
public TooLargeObjectInPackException(long maxObjectSizeLimit) Construct a too large object in pack exception when the exact size of the too large object is not available. This will be used when we find out that a delta sequence is already larger than the maxObjectSizeLimit but don't want to inflate the delta just to find out the exact size of the resulting object.- Parameters:
maxObjectSizeLimit
- the maximum object size limit
-
TooLargeObjectInPackException
public TooLargeObjectInPackException(long objectSize, long maxObjectSizeLimit) Construct a too large object in pack exception when the exact size of the too large object is known.- Parameters:
objectSize
- a long.maxObjectSizeLimit
- a long.
-
TooLargeObjectInPackException
Construct a too large object in pack exception.- Parameters:
uri
- URI used for transports
- message- Since:
- 4.4
-