| Package | Description |
|---|---|
| io.axoniq.axonserver.connector | |
| io.axoniq.axonserver.connector.impl |
| Modifier and Type | Method and Description |
|---|---|
ErrorCategory |
AxonServerException.getErrorCategory()
Returns the category of the error that caused this exception.
|
static ErrorCategory |
ErrorCategory.getFromCode(String code) |
static ErrorCategory |
ErrorCategory.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorCategory[] |
ErrorCategory.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ReplyChannel.completeWithError(ErrorCategory errorCategory,
String message)
Marks the inbound instruction as exceptionally completed.
|
| Constructor and Description |
|---|
AxonServerException(ErrorCategory errorCategory,
String message,
String location)
Initialize the exception for an error in the given
errorCategory, explained by the given message,
which occurred in given location. |
AxonServerException(ErrorCategory errorCategory,
String message,
String location,
List<String> details,
Throwable cause)
Initialize the exception for an error in the given
errorCategory, explained by the given message
and details, which occurred in given location and caused by the given cause. |
AxonServerException(ErrorCategory errorCategory,
String message,
String location,
Throwable cause)
Initialize the exception for an error in the given
errorCategory, explained by the given message,
which occurred in given location and caused by the given cause. |
| Modifier and Type | Method and Description |
|---|---|
static ErrorMessage |
MessageFactory.buildErrorMessage(ErrorCategory errorCategory,
String client,
Throwable t)
|
void |
CloseAwareReplyChannel.completeWithError(ErrorCategory errorCategory,
String message) |
void |
BufferingReplyChannel.completeWithError(ErrorCategory errorCategory,
String message) |
void |
ForwardingReplyChannel.completeWithError(ErrorCategory errorCategory,
String message) |
Copyright © 2020–2023 AxonIQ BV. All rights reserved.