Class ServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.fluxzero.sdk.common.exception.ServiceException
- All Implemented Interfaces:
Serializable
Exception thrown when a
Request fails and an ErrorResult is returned by
the Fluxzero Runtime.
This exception is used to complete the CompletableFuture of a failed request with the message from the
associated ErrorResult.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionServiceException(String message) Constructs a new exception with the specified error message. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ServiceException
Constructs a new exception with the specified error message.- Parameters:
message- the message describing the failure
-