public class LargeObjectException
extends java.lang.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 |
---|---|
java.lang.String |
getMessage() |
ObjectId |
getObjectId() |
protected java.lang.String |
getObjectName() |
void |
setObjectId(AnyObjectId id)
Set the identity of the object, if its not already set.
|
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 java.lang.String getObjectName()
public void setObjectId(AnyObjectId id)
id
- the id of the object that is too large to process.public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
Copyright © 2012. All Rights Reserved.