public class AxonServerRemoteQueryHandlingException extends RemoteHandlingException
writableStackTrace
parameter.Constructor and Description |
---|
AxonServerRemoteQueryHandlingException(String errorCode,
io.axoniq.axonserver.grpc.ErrorMessage message)
Initialize a Query Handling exception from a remote source.
|
AxonServerRemoteQueryHandlingException(String errorCode,
io.axoniq.axonserver.grpc.ErrorMessage message,
boolean writableStackTrace)
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 AxonServerRemoteQueryHandlingException(String errorCode, io.axoniq.axonserver.grpc.ErrorMessage message, boolean writableStackTrace)
errorCode
- a String
defining the error code of this exceptionmessage
- an ErrorMessage
describing the exceptionwritableStackTrace
- whether the stack trace should be generated (true
) or not (false
public 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–2024. All rights reserved.