Class UnreadableQueryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.common.AxonException
org.axonframework.common.AxonNonTransientException
io.axoniq.framework.springcloud.query.UnreadableQueryException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionUnreadableQueryException(String message, Throwable cause) Constructs anUnreadableQueryExceptionwith the givenmessageandcause. -
Method Summary
Methods inherited from class org.axonframework.common.AxonNonTransientException
isCauseOfMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnreadableQueryException
Constructs anUnreadableQueryExceptionwith the givenmessageandcause.- Parameters:
message- the message describing what could not be readcause- the failure encountered while reading
-