Package org.eclipse.jgit.errors
Class LargeObjectException.ExceedsLimit
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.jgit.errors.LargeObjectException
org.eclipse.jgit.errors.LargeObjectException.ExceedsLimit
- All Implemented Interfaces:
Serializable
- Enclosing class:
LargeObjectException
Object size exceeds the caller's upper limit.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jgit.errors.LargeObjectException
LargeObjectException.ExceedsByteArrayLimit, LargeObjectException.ExceedsLimit, LargeObjectException.OutOfMemory
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final long
private static final long
private final long
-
Constructor Summary
ConstructorsConstructorDescriptionExceedsLimit
(long limit, long size) Construct an exception for a particular size being exceeded. -
Method Summary
Methods inherited from class org.eclipse.jgit.errors.LargeObjectException
getObjectId, getObjectName, setObjectId
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
limit
private final long limit -
size
private final long size
-
-
Constructor Details
-
ExceedsLimit
public ExceedsLimit(long limit, long size) Construct an exception for a particular size being exceeded.- Parameters:
limit
- the limit the caller imposed on the object.size
- the actual size of the object.
-
-
Method Details
-
getMessage
Description copied from class:LargeObjectException
- Overrides:
getMessage
in classLargeObjectException
-