Interface OrchestrationErrorCallback
-
public interface OrchestrationErrorCallback
TheOrchestrationErrorCallback
interface defines the callback that must be implemented in order to be informed of errors during theOrchestrator
lifecycle.Since it is the main way for the
Orchestrator
to report errors it must be provided to theOrchestrator.Builder
viaOrchestrator.Builder.setErrorCallback(OrchestrationErrorCallback)
.
TheOrchestrationErrorCallback
used by theOrchestrator
can also be modified during its lifecycle viaOrchestrator.setErrorCallback(OrchestrationErrorCallback)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onOrchestrationError(OrchestrationError error)
callback that will be called when an error occursvoid
onOrchestrationServerError(OrchestrationServerError error)
callback that will be called when an error occurs on the server and is sent back to the client
-
-
-
Method Detail
-
onOrchestrationError
void onOrchestrationError(OrchestrationError error)
callback that will be called when an error occurs- Parameters:
error
- error to be returned
-
onOrchestrationServerError
void onOrchestrationServerError(OrchestrationServerError error)
callback that will be called when an error occurs on the server and is sent back to the client- Parameters:
error
- error to be returned
-
-