Class BlockSizeTooSmallException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.eclipse.jgit.internal.storage.reftable.BlockSizeTooSmallException
- All Implemented Interfaces:
Serializable
Thrown if
ReftableWriter
cannot fit a reference.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
private static final long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Get minimum block size in bytes reftable requires to write a ref.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:
-
minBlockSize
private final int minBlockSize
-
-
Constructor Details
-
BlockSizeTooSmallException
BlockSizeTooSmallException(int b)
-
-
Method Details
-
getMinimumBlockSize
public int getMinimumBlockSize()Get minimum block size in bytes reftable requires to write a ref.- Returns:
- minimum block size in bytes reftable requires to write a ref.
-