Class AxonServerQueryDispatchException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.common.AxonException
org.axonframework.axonserver.connector.query.AxonServerQueryDispatchException
- All Implemented Interfaces:
Serializable
An AxonServer Exception which is thrown on a Query Dispatching exception.
- Since:
- 4.0
- Author:
- Steven van Beelen
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAxonServerQueryDispatchException(String code, io.axoniq.axonserver.grpc.ErrorMessage errorMessage) Initializes an AxonServer Query Dispatch Exception using the givencodeanderrorMessage.AxonServerQueryDispatchException(String code, String message) Initializes an AxonServer Query Dispatch Exception using the givencodeandmessage.Initializes an AxonServer Query Dispatch Exception using the givenmessage,code,sourceanddetails. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AxonServerQueryDispatchException
public AxonServerQueryDispatchException(String code, io.axoniq.axonserver.grpc.ErrorMessage errorMessage) Initializes an AxonServer Query Dispatch Exception using the givencodeanderrorMessage.- Parameters:
code- aStringspecifying the error code received from the Axon ServererrorMessage- the grpcErrorMessagedescribing the error
-
AxonServerQueryDispatchException
Initializes an AxonServer Query Dispatch Exception using the givencodeandmessage. -
AxonServerQueryDispatchException
public AxonServerQueryDispatchException(String message, String code, String source, List<String> details) Initializes an AxonServer Query Dispatch Exception using the givenmessage,code,sourceanddetails.
-
-
Method Details