Class AxonServerNonTransientRemoteCommandHandlingException

All Implemented Interfaces:
Serializable

public class AxonServerNonTransientRemoteCommandHandlingException extends RemoteNonTransientHandlingException
Exception indicating a non-transient problem that was reported by the remote end of a connection.
Since:
4.5
Author:
Stefan Andjelkovic
See Also:
  • Constructor Details

    • AxonServerNonTransientRemoteCommandHandlingException

      public AxonServerNonTransientRemoteCommandHandlingException(String errorCode, io.axoniq.axonserver.grpc.ErrorMessage errorMessage)
      Initialize the exception with given errorCode and errorMessage.
      Parameters:
      errorCode - the code reported by the server
      errorMessage - the message describing the exception on the remote end
  • Method Details

    • getServer

      public String getServer()
      Returns the name of the server that reported the error.
      Returns:
      the name of the server that reported the error
    • getErrorCode

      public String getErrorCode()
      Returns the error code as reported by the server.
      Returns:
      the error code as reported by the server
    • toString

      public String toString()
      Overrides:
      toString in class Throwable