public static class LargeObjectException.ExceedsLimit extends LargeObjectException
LargeObjectException.ExceedsByteArrayLimit, LargeObjectException.ExceedsLimit, LargeObjectException.OutOfMemory
Modifier and Type | Field and Description |
---|---|
private long |
limit |
private static long |
serialVersionUID |
private long |
size |
Constructor and Description |
---|
ExceedsLimit(long limit,
long size)
Construct an exception for a particular size being exceeded.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage() |
getObjectId, getObjectName, setObjectId
private static final long serialVersionUID
private final long limit
private final long size
public ExceedsLimit(long limit, long size)
limit
- the limit the caller imposed on the object.size
- the actual size of the object.public java.lang.String getMessage()
LargeObjectException
getMessage
in class LargeObjectException