On Thu, 29 Sep 2022 10:26:14 GMT, Daniel Fuchs <[email protected]> wrote:

>> You can use `Throwable::initCause`
>
> var mfue = new MalformedURLException(e.getMessage());
> mfue.initCause(e);
> throw mfue;

Thank you for your advice, I could fix it.

-------------

PR: https://git.openjdk.org/jdk/pull/8155

Reply via email to