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