root/coldbox/trunk/ApplicationTemplate/includes/generic_error.cfm @ 867

Revision 867, 1.4 kB (checked in by lmajano, 6 years ago)

updates.

Line 
1<cfset exceptionBean = event.getValue("ExceptionBean") />
2
3<h3>An Unhandled Exception Occurred</h3>
4
5<cfoutput>
6<table>
7        <tr>
8                <td colspan="2">An unhandled exception has occurred. Please look at the diagnostic information below:</td>
9        </tr>
10        <tr>
11                <td valign="top"><strong>Type</strong></td>
12                <td valign="top">#exceptionBean.getType()#</td>
13        </tr>
14        <tr>
15                <td valign="top"><strong>Message</strong></td>
16                <td valign="top">#exceptionBean.getMessage()#</td>
17        </tr>
18        <tr>
19                <td valign="top"><strong>Detail</strong></td>
20                <td valign="top">#exceptionBean.getDetail()#</td>
21        </tr>
22        <tr>
23                <td valign="top"><strong>Extended Info</strong></td>
24                <td valign="top">#exceptionBean.getExtendedInfo()#</td>
25        </tr>
26        <tr>
27                <td valign="top"><strong>Message</strong></td>
28                <td valign="top">#exceptionBean.getMessage()#</td>
29        </tr>
30        <tr>
31                <td valign="top"><strong>Tag Context</strong></td>
32                <td valign="top">
33               <cfset variables.tagCtxArr = exceptionBean.getTagContext() />
34               <cfloop index="i" from="1" to="#ArrayLen(variables.tagCtxArr)#">
35                       <cfset variables.tagCtx = variables.tagCtxArr[i] />
36                       #variables.tagCtx['template']# (#variables.tagCtx['line']#)<br>
37               </cfloop>
38                </td>
39        </tr>
40        <tr>
41                <td valign="top"><strong>Stack Trace</strong></td>
42                <td valign="top">#exceptionBean.getStackTrace()#</td>
43        </tr>
44</table>
45</cfoutput>
Note: See TracBrowser for help on using the browser.