Details
-
Improvement
-
Status: Open
-
Not a Priority
-
Resolution: Unresolved
-
1.12.0
-
None
Description
Currently, different implementations of the JobClient throw different exceptions. The ClusterClientJobClientAdapter wraps the exception from the JobResult.toJobExecutionResult() into a ProgramInvocationException, the MiniClusterJobClient simply wraps it in a CompletionException and the EmbeddedJobClient wraps it into an UnsuccessfulExecutionException.
With this issue I would like to propose making the exception uniform and part of the contract and as a candidate I would propose the behaviour of the EmbeddedJobClient which throws an UnsuccessfulExecutionException. The reason is that this exception also includes the status of the application.
Attachments
Issue Links
- links to