#if($exception.Cause)
    #set($exception = $exception.Cause)
    #foreach($stack in $exception.getStackTrace())
        $stack.toString()
    #end     
#end
Posted by [czar]
,