Class AxonServerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.axonframework.common.AxonException
org.axonframework.axonserver.connector.AxonServerException
- All Implemented Interfaces:
Serializable
Generic exception indicating an error related to AxonServer.
- Since:
- 4.0
- Author:
- Sara Pellegrini
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAxonServerException(String code, io.axoniq.axonserver.grpc.ErrorMessage errorMessage) Initializes the exception using the givencodeanderrorMessage.AxonServerException(String code, String message) Initializes the exception using the givencodeandmessage.Initializes the exception using the givenmessage,code,sourceanddetails.AxonServerException(String code, String message, Throwable cause) Initializes the exception using the givenmessage,code, andcause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AxonServerException
Initializes the exception using the givencodeanderrorMessage.- Parameters:
code- The code of the error received from the Axon ServererrorMessage- The grpc error message describing the error
-
AxonServerException
Initializes the exception using the givencodeandmessage.- Parameters:
code- The code of the error received from the Axon Servermessage- The message describing the exception
-
AxonServerException
Initializes the exception using the givenmessage,code,sourceanddetails. -
AxonServerException
Initializes the exception using the givenmessage,code, andcause.- Parameters:
code- The code of the error received from the Axon Servermessage- The message describing the exceptioncause- The underlying cause of the exception
-
-
Method Details
-
code
-
source
-
details
-
errorCode
-