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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CoordinatorConnectionException(String message, int status)Creates exception describing an error in communication with coordinator.CoordinatorConnectionException(String message, Throwable cause, int status)Creates exception describing an error in communication with coordinator.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intstatus()Status which should be reported to LRA method based on this error.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CoordinatorConnectionException
public CoordinatorConnectionException(String message, int status)
Creates exception describing an error in communication with coordinator.- Parameters:
message- description of the errorstatus- 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 errorcause- parent exceptionstatus- http status which should be reported to LRA method based on this error
-
-