Top Description Fields Constructors
org.eclipse.jgit.errors

public Class TooLargeObjectInPackException

extends TransportException
Class Inheritance
Imports
java.text.MessageFormat, org.eclipse.jgit.internal.JGitText, org.eclipse.jgit.transport.URIish

Thrown when PackParser finds an object larger than a predefined limit

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
TooLargeObjectInPackException(long
the maximum object size limit
maxObjectSizeLimit
)

Construct a too large object in pack exception when the exact size of the too large object is not available.

public
TooLargeObjectInPackException(long
a long.
objectSize
,
long
a long.
maxObjectSizeLimit
)

Construct a too large object in pack exception when the exact size of the too large object is known.

public
TooLargeObjectInPackException(URIish
URI used for transport
uri
,
String
message
s
)

Construct a too large object in pack exception.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.eclipse.jgit.errors.TransportException.serialVersionUID.

Constructor Detail

TooLargeObjectInPackExceptionback to summary
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:long

the maximum object size limit

TooLargeObjectInPackExceptionback to summary
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:long

a long.

maxObjectSizeLimit:long

a long.

TooLargeObjectInPackExceptionback to summary
public TooLargeObjectInPackException(URIish uri, String s)

Construct a too large object in pack exception.

Parameters
uri:URIish

URI used for transport

s:String

message

Since
4.4