public abstract class MessageFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static ErrorMessage |
buildErrorMessage(ErrorCategory errorCategory,
String client,
Throwable t)
|
public static ErrorMessage buildErrorMessage(ErrorCategory errorCategory, String client, Throwable t)
errorCategory - the ErrorCategory the constructed ErrorMessage belongs toclient - a String defining where the constructed ErrorMessage originates fromt - a Throwable defining the original exception resulting in this ErrorMessageErrorMessage, using the given errorCategory, client and ThrowableCopyright © 2020–2022 AxonIQ BV. All rights reserved.