[VIEWERJAVA-550] Reveal the exception handling together with API