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.
|
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
ObjectId |
getObjectId() |
protected String |
getObjectName() |
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, toString
public LargeObjectException()
public 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 Throwable
Copyright © 2017 Eclipse JGit Project. All rights reserved.