Package | Description |
---|---|
sirius.kernel.health |
Provides tools to record the system state and to log and handle exceptions.
|
Modifier and Type | Method and Description |
---|---|
HandledException |
Incident.getException()
Returns the underlying exception.
|
HandledException |
Exceptions.ErrorHandler.handle()
Generates and logs the resulting HandledException.
|
static HandledException |
Exceptions.handle(Log log,
Throwable e)
Boilerplate method the directly handle the given exception without a special message
|
static HandledException |
Exceptions.handle(Throwable e)
Boilerplate method the directly handle the given exception without a special message or logger
|
Constructor and Description |
---|
Incident(String category,
String location,
List<Tuple<String,String>> mdc,
HandledException exception) |
Copyright © 2018. All rights reserved.