open fun initApplicationException(ex: Throwable): Unit
Set an application exception that was thrown before this transaction exception, preserving the original exception despite the overriding TransactionSystemException.
ex - the application exception
IllegalStateException - if this TransactionSystemException already holds an application exception