| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final long | memoryNeededInKb
A long instead of int to account for overflow for corrupt files. |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static String | |
| public int | |
| public long |
| memoryLimitInKb | back to summary |
|---|---|
| private final int memoryLimitInKb | |
| memoryNeededInKb | back to summary |
|---|---|
| private final long memoryNeededInKb A long instead of int to account for overflow for corrupt files. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| MemoryLimitException | back to summary |
|---|---|
| public MemoryLimitException(final long memoryNeededInKb, final int memoryLimitInKb) | |
| MemoryLimitException | back to summary |
|---|---|
| public MemoryLimitException(final long memoryNeededInKb, final int memoryLimitInKb, final Exception e) | |
| buildMessage | back to summary |
|---|---|
| private static String buildMessage(final long memoryNeededInKb, final int memoryLimitInKb) | |
| getMemoryLimitInKb | back to summary |
|---|---|
| public int getMemoryLimitInKb() | |
| getMemoryNeededInKb | back to summary |
|---|---|
| public long getMemoryNeededInKb() | |