|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.jgit.errors.LargeObjectException
public class LargeObjectException
An object is too big to load into memory as a single byte array.
| Nested Class Summary | |
|---|---|
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 Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
String |
getMessage()
|
ObjectId |
getObjectId()
|
protected String |
getObjectName()
|
void |
setObjectId(AnyObjectId id)
Set the identity of the object, if its not already set. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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.| Method Detail |
|---|
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||