Class CoordinatorConnectionException

    • Constructor Detail

      • CoordinatorConnectionException

        public CoordinatorConnectionException​(String message,
                                              int status)
        Creates exception describing an error in communication with coordinator.
        Parameters:
        message - description of the error
        status - http status which should be reported to LRA method based on this error
      • CoordinatorConnectionException

        public CoordinatorConnectionException​(String message,
                                              Throwable cause,
                                              int status)
        Creates exception describing an error in communication with coordinator.
        Parameters:
        message - description of the error
        cause - parent exception
        status - http status which should be reported to LRA method based on this error
    • Method Detail

      • status

        public int status()
        Status which should be reported to LRA method based on this error.
        Returns:
        http status