Velocity에서 Exception stack 확인 방법

Jakarta 2009. 6. 10. 16:49
#if($exception.Cause)
    #set($exception = $exception.Cause)
    #foreach($stack in $exception.getStackTrace())
        $stack.toString()
    #end     
#end



이렇게 하면 된다.!

설정

트랙백

댓글