Uses of Enum Class
org.axonframework.axonserver.connector.ErrorCode
Packages that use ErrorCode
Package
Description
-
Uses of ErrorCode in org.axonframework.axonserver.connector
Methods in org.axonframework.axonserver.connector that return ErrorCodeModifier and TypeMethodDescriptionAxonServerException.errorCode()static ErrorCodeErrorCode.getCommandExecutionErrorCode(Throwable throwable) Returns an Command Execution ErrorCode variation based on the transiency of the givenThrowablestatic ErrorCodeErrorCode.getFromCode(String code) static ErrorCodeErrorCode.getQueryExecutionErrorCode(Throwable throwable) Returns a Query Execution ErrorCode variation based on the transiency of the givenThrowablestatic ErrorCodeReturns the enum constant of this class with the specified name.static ErrorCode[]ErrorCode.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of ErrorCode in org.axonframework.axonserver.connector.query
Methods in org.axonframework.axonserver.connector.query that return ErrorCodeModifier and TypeMethodDescriptionAxonServerQueryDispatchException.errorCode()Return anErrorCodebased on theAxonServerQueryDispatchException.code().Methods in org.axonframework.axonserver.connector.query with parameters of type ErrorCodeModifier and TypeMethodDescriptionstatic io.axoniq.axonserver.grpc.query.QueryUpdateQueryConverter.convertQueryUpdate(String clientId, ErrorCode errorCode, Throwable error) Converts error information and a client identifier into aQueryUpdate. -
Uses of ErrorCode in org.axonframework.axonserver.connector.util
Methods in org.axonframework.axonserver.connector.util with parameters of type ErrorCodeModifier and TypeMethodDescriptionstatic io.axoniq.axonserver.grpc.ErrorMessageExceptionConverter.convertToErrorMessage(String clientLocation, ErrorCode errorCode, Throwable t) Serializes a givenThrowableinto anErrorMessage.