Serializable
LargeObjectException.ExceedsByteArrayLimit
, LargeObjectException.ExceedsLimit
, LargeObjectException.OutOfMemory
public class LargeObjectException extends RuntimeException
Modifier and Type | Class | 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 | 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 | Description |
---|---|---|
String |
getMessage() |
|
ObjectId |
getObjectId() |
|
protected String |
getObjectName() |
|
void |
setObjectId(AnyObjectId id) |
Set the identity of the object, if its not already set.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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 © 2018. All rights reserved.