Uses of Class
io.axoniq.axonserver.connector.ErrorCategory
-
Packages that use ErrorCategory Package Description io.axoniq.axonserver.connector io.axoniq.axonserver.connector.impl -
-
Uses of ErrorCategory in io.axoniq.axonserver.connector
Methods in io.axoniq.axonserver.connector that return ErrorCategory Modifier and Type Method Description ErrorCategoryAxonServerException. getErrorCategory()Returns the category of the error that caused this exception.static ErrorCategoryErrorCategory. getFromCode(String code)static ErrorCategoryErrorCategory. 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.Methods in io.axoniq.axonserver.connector with parameters of type ErrorCategory Modifier and Type Method Description voidReplyChannel. completeWithError(ErrorCategory errorCategory, String message)Marks the inbound instruction as exceptionally completed.Constructors in io.axoniq.axonserver.connector with parameters of type ErrorCategory Constructor Description AxonServerException(ErrorCategory errorCategory, String message, String location)Initialize the exception for an error in the givenerrorCategory, explained by the givenmessage, which occurred in givenlocation.AxonServerException(ErrorCategory errorCategory, String message, String location, Throwable cause)Initialize the exception for an error in the givenerrorCategory, explained by the givenmessage, which occurred in givenlocationand caused by the givencause.AxonServerException(ErrorCategory errorCategory, String message, String location, List<String> details, Throwable cause)Initialize the exception for an error in the givenerrorCategory, explained by the givenmessageanddetails, which occurred in givenlocationand caused by the givencause. -
Uses of ErrorCategory in io.axoniq.axonserver.connector.impl
Methods in io.axoniq.axonserver.connector.impl with parameters of type ErrorCategory Modifier and Type Method Description static ErrorMessageMessageFactory. buildErrorMessage(ErrorCategory errorCategory, String client, Throwable t)voidBufferingReplyChannel. completeWithError(ErrorCategory errorCategory, String message)voidCloseAwareReplyChannel. completeWithError(ErrorCategory errorCategory, String message)voidForwardingReplyChannel. completeWithError(ErrorCategory errorCategory, String message)
-