Class CoordinatorConnectionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.helidon.lra.coordinator.client.CoordinatorConnectionException
All Implemented Interfaces:
Serializable

public class CoordinatorConnectionException extends RuntimeException
Exception in communication with coordinator.
See Also:
  • Constructor Details

    • 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 Details

    • status

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