public class ContainerGrowthException extends RuntimeException implements AttributeReadMessageCode
ContainerGrowthException is thrown if a container should grow (increase its size) but this
failed. Here a container stands for an array (that can never grow) or a Collection.| Modifier and Type | Field and Description |
|---|---|
static String |
MESSAGE_CODE |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
ContainerGrowthException(int size,
int max)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprivate static final long serialVersionUID
public static final String MESSAGE_CODE
getCode(),
Constant Field Valuespublic ContainerGrowthException(int size,
int max)
size - is the number of entries to increase the container.max - is the maximum increase allowed.public String getCode()
getCode in interface AttributeReadMessageCodeCopyright © 2001–2019 mmm-Team. All rights reserved.