Class CoordinatorConnectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.helidon.lra.coordinator.client.CoordinatorConnectionException
- All Implemented Interfaces:
Serializable
Exception in communication with coordinator.
- See Also:
-
Constructor Summary
ConstructorDescriptionCoordinatorConnectionException
(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
Modifier and TypeMethodDescriptionint
status()
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 Details
-
CoordinatorConnectionException
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
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
-
-
Method Details
-
status
public int status()Status which should be reported to LRA method based on this error.- Returns:
- http status
-