Class UnreadableQueryException

All Implemented Interfaces:
Serializable

public class UnreadableQueryException extends AxonNonTransientException
Raised when a query received from another member cannot be read.

Non-transient by nature: whatever made the request unreadable will make an identical one unreadable too. Reported to the member that asked as a QueryErrorCode.QUERY_EXECUTION_NON_TRANSIENT_ERROR, so that it does not spend a retry on bytes that cannot succeed.

Since:
5.4.0
Author:
Allard Buijze
See Also:
  • Constructor Details

    • UnreadableQueryException

      public UnreadableQueryException(String message, Throwable cause)
      Constructs an UnreadableQueryException with the given message and cause.
      Parameters:
      message - the message describing what could not be read
      cause - the failure encountered while reading