public class SystemErrors extends BaseCategory
Constructor and Description |
---|
SystemErrors() |
Modifier and Type | Method and Description |
---|---|
OutOfMemoryErrorBuilder |
outOfMemoryError()
Error logged when the JVM runs out of available memory for the garbage collector.
|
StackOverflowErrorBuilder |
stackOverflowError()
Error logged due to stack overflow
|
getCategoryName
@Error(userMessage="The JVM ran out of memory.", technicalMessage="No more memory can be made available to the garbage collector.", solution="Increase heap size and re-run the program.", severity=FATAL) public OutOfMemoryErrorBuilder outOfMemoryError()
@Error(userMessage="The recursive operation %{operation} has run too deep and caused a stack overflow.", technicalMessage="Operation %{operation} has tried to use more memory than is available in the call stack.", solution="Increase the stack bound and re-run the program.", severity=FATAL) public StackOverflowErrorBuilder stackOverflowError()
Copyright © 2020. All rights reserved.