Skip to content
Commit 78f48b5c authored by Sanka Samaranayake's avatar Sanka Samaranayake
Browse files

SCHEDULING-2110 SchedulerRestClient, throw proper exceptions in case of a job submission failure

Fix: recursively unwarp the thrown exception (by SchedulerRestClient API) until the target (server-side) exception is found.
Reconstruct a new exception by using the message and StackTrace of the 'unwrapped'exception.

Change-Id: I647b8f4bef3a7ff613a21368895782505cb419d9
parent aa11ff95
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment