public class LargeObjectException extends RuntimeException
| Modifier and Type | Class and Description |
|---|---|
static class |
LargeObjectException.ExceedsByteArrayLimit
Object size exceeds JVM limit of 2 GiB per byte array.
|
static class |
LargeObjectException.ExceedsLimit
Object size exceeds the caller's upper limit.
|
static class |
LargeObjectException.OutOfMemory
An error caused by the JVM being out of heap space.
|
| Constructor and Description |
|---|
LargeObjectException()
Create a large object exception, where the object isn't known.
|
LargeObjectException(AnyObjectId id)
Create a large object exception, naming the object that is too big.
|
LargeObjectException(Throwable cause)
Create a large object exception, where the object isn't known.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
ObjectId |
getObjectId()
Get identity of the object that is too large; may be null
|
protected String |
getObjectName()
Get the hex encoded name of the object, or 'unknown object'
|
void |
setObjectId(AnyObjectId id)
Set the identity of the object, if its not already set.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic LargeObjectException()
public LargeObjectException(Throwable cause)
cause - the causepublic LargeObjectException(AnyObjectId id)
id - identity of the object that is too big to be loaded as a byte
array in this JVM.public ObjectId getObjectId()
protected String getObjectName()
public void setObjectId(AnyObjectId id)
id - the id of the object that is too large to process.public String getMessage()
getMessage in class ThrowableCopyright © 2018 Eclipse JGit Project. All rights reserved.