Class AxonServerRemoteQueryHandlingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.common.AxonException
org.axonframework.messaging.core.RemoteHandlingException
org.axonframework.axonserver.connector.query.AxonServerRemoteQueryHandlingException
- All Implemented Interfaces:
Serializable
An AxonServer Exception which is thrown on a Query Handling exception.
By default, a stack trace is not generated for this exception. However, the stack trace creation can be enforced
explicitly via the constructor accepting the
writableStackTrace parameter.- Since:
- 4.0
- Author:
- Marc Gathier
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAxonServerRemoteQueryHandlingException(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. -
Method Summary
Methods inherited from class org.axonframework.messaging.core.RemoteHandlingException
getExceptionDescriptionsMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
AxonServerRemoteQueryHandlingException
public AxonServerRemoteQueryHandlingException(String errorCode, io.axoniq.axonserver.grpc.ErrorMessage message) Initialize a Query Handling exception from a remote source.- Parameters:
errorCode- aStringdefining the error code of this exceptionmessage- anErrorMessagedescribing the exception
-
AxonServerRemoteQueryHandlingException
public AxonServerRemoteQueryHandlingException(String errorCode, io.axoniq.axonserver.grpc.ErrorMessage message, boolean writableStackTrace) Initialize a Query Handling exception from a remote source.- Parameters:
errorCode- aStringdefining the error code of this exceptionmessage- anErrorMessagedescribing the exceptionwritableStackTrace- whether the stack trace should be generated (true) or not (false
-
-
Method Details