public class AxonServerQueryDispatchException extends AxonException
Constructor and Description |
---|
AxonServerQueryDispatchException(String code,
io.axoniq.axonserver.grpc.ErrorMessage errorMessage)
Initializes an AxonServer Query Dispatch Exception using the given
code and errorMessage . |
AxonServerQueryDispatchException(String code,
String message)
Initializes an AxonServer Query Dispatch Exception using the given
code and message . |
AxonServerQueryDispatchException(String message,
String code,
String source,
List<String> details)
Initializes an AxonServer Query Dispatch Exception using the given
message , code , source
and details . |
Modifier and Type | Method and Description |
---|---|
String |
code()
Return a
String defining the error code. |
List<String> |
details()
|
ErrorCode |
errorCode()
|
String |
source()
Return a
String defining the source where the error originated. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public AxonServerQueryDispatchException(String code, io.axoniq.axonserver.grpc.ErrorMessage errorMessage)
code
and errorMessage
.code
- a String
specifying the error code received from the Axon ServererrorMessage
- the grpc ErrorMessage
describing the errorpublic AxonServerQueryDispatchException(String code, String message)
code
and message
.Copyright © 2010–2023. All rights reserved.