public class AxonServerRemoteQueryHandlingException extends RemoteHandlingException
Constructor and Description |
---|
AxonServerRemoteQueryHandlingException(String errorCode,
io.axoniq.axonserver.grpc.ErrorMessage message)
Initialize a Query Handling exception from a remote source.
|
Modifier and Type | Method and Description |
---|---|
String |
getErrorCode()
Return a
String defining the error code. |
String |
getServer()
Return a
String defining the location where the error originated. |
String |
toString() |
getExceptionDescriptions
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public AxonServerRemoteQueryHandlingException(String errorCode, io.axoniq.axonserver.grpc.ErrorMessage message)
errorCode
- a String
defining the error code of this exceptionmessage
- an ErrorMessage
describing the exceptionpublic String getErrorCode()
String
defining the error code.String
defining the error codepublic String getServer()
String
defining the location where the error originated.String
defining the location where the error originatedCopyright © 2010–2022. All rights reserved.