<!---
editForm.cfm
author: Ben Edwards
params: request.event

Displays error exception information. An Exception is part of the Mach-II
framework created in Mach-ii.util. It provides CF error handlind data and
will assist in debugging Mach-ii applications. -- Leon Chalnick
--->

<h3>Exception</h3>


<cfset exception = request.event.getArg('exception') />

<cfoutput>
<table>
  <tr>
    <td valign="top"><b>Message</b></td>
    <td valign="top">#exception.getMessage()#</td>
  </tr>
  <tr>
    <td valign="top"><b>Detail</b></td>
    <td valign="top">#exception.getDetail()#</td>
  </tr>
  <tr>
    <td valign="top"><b>Extended Info</b></td>
    <td valign="top">#exception.getExtendedInfo()#</td>
  </tr>
  <tr>
    <td valign="top"><b>Tag Context</b></td>
    <td valign="top">
      <cfset tagCtxArr = exception.getTagContext() />
      <cfloop index="i" from="1" to="#ArrayLen(tagCtxArr)#">
        <cfset tagCtx = tagCtxArr[i] />
        #tagCtx['template']# (#tagCtx['line']#)<br>
      </cfloop>
    </td>
  </tr>
</table>
</cfoutput>