| Modifier and Type | Class and Description |
|---|---|
| public static class | LargeObjectException.
Object size exceeds JVM limit of 2 GiB per byte array. |
| public static class | LargeObjectException.
Object size exceeds the caller's upper limit. |
| public static class | LargeObjectException.
An error caused by the JVM being out of heap space. |
| Modifier and Type | Field and Description |
|---|---|
| private ObjectId | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | LargeObjectException(Throwable
the cause cause)Create a large object exception, where the object isn't known. |
| public | LargeObjectException(AnyObjectId
identity of the object that is too big to be loaded as a byte
array in this JVM. id)Create a large object exception, naming the object that is too big. |
| Modifier and Type | Method and Description |
|---|---|
| public String | getMessage()
Overrides java. Returns the detail message string of this throwable. |
| public ObjectId | Returns: identity of the object that is too large; may be nullGet identity of the object that is too large; may be null |
| protected String | Returns: either the hex encoded name of the object, or 'unknown object'Get the hex encoded name of the object, or 'unknown object' |
| public void | setObjectId(AnyObjectId
the id of the object that is too large to process. id)Set the identity of the object, if its not already set. |
| objectId | back to summary |
|---|---|
| private ObjectId objectId | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| LargeObjectException | back to summary |
|---|---|
| public LargeObjectException() Create a large object exception, where the object isn't known. | |
| LargeObjectException | back to summary |
|---|---|
| public LargeObjectException(Throwable cause) Create a large object exception, where the object isn't known.
| |
| LargeObjectException | back to summary |
|---|---|
| public LargeObjectException(AnyObjectId id) Create a large object exception, naming the object that is too big.
| |
| getMessage | back to summary |
|---|---|
| public String getMessage() Overrides java. Doc from java. Returns the detail message string of this throwable. | |
| getObjectId | back to summary |
|---|---|
| public ObjectId getObjectId() Get identity of the object that is too large; may be null
| |
| getObjectName | back to summary |
|---|---|
| protected String getObjectName() Get the hex encoded name of the object, or 'unknown object'
| |
| setObjectId | back to summary |
|---|---|
| public void setObjectId(AnyObjectId id) Set the identity of the object, if its not already set.
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getMessage()
Overrides org. Returns the detail message string of this throwable. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides org. | |
| ExceedsByteArrayLimit | back to summary |
|---|---|
| public ExceedsByteArrayLimit() | |
| getMessage | back to summary |
|---|---|
| public String getMessage() Overrides org. Doc from java. Returns the detail message string of this throwable. | |
| Modifier and Type | Field and Description |
|---|---|
| private final long | |
| private static final long | |
| private final long |
| Access | Constructor and Description |
|---|---|
| public | ExceedsLimit(long
the limit the caller imposed on the object. limit, long the actual size of the object. size)Construct an exception for a particular size being exceeded. |
| Modifier and Type | Method and Description |
|---|---|
| public String | getMessage()
Overrides org. Returns the detail message string of this throwable. |
| limit | back to summary |
|---|---|
| private final long limit | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides org. | |
| size | back to summary |
|---|---|
| private final long size | |
| ExceedsLimit | back to summary |
|---|---|
| public ExceedsLimit(long limit, long size) Construct an exception for a particular size being exceeded.
| |
| getMessage | back to summary |
|---|---|
| public String getMessage() Overrides org. Doc from java. Returns the detail message string of this throwable. | |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | OutOfMemory(OutOfMemoryError
the original root cause. cause)Construct a wrapper around the original OutOfMemoryError. |
| Modifier and Type | Method and Description |
|---|---|
| public String | getMessage()
Overrides org. Returns the detail message string of this throwable. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides org. | |
| OutOfMemory | back to summary |
|---|---|
| public OutOfMemory(OutOfMemoryError cause) Construct a wrapper around the original OutOfMemoryError.
| |
| getMessage | back to summary |
|---|---|
| public String getMessage() Overrides org. Doc from java. Returns the detail message string of this throwable. | |