[XNIO-219] Temporarily construct the exception manually until LOGTOOL-78 is fixed.