PageRenderTime 92ms CodeModel.GetById 90ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 1ms

/SampleApplication/ColdBox3/includes/templates/generic_error.cfm

http://github.com/bobsilverberg/ValidateThisColdBoxPlugin
ColdFusion | 37 lines | 35 code | 2 blank | 0 comment | 0 complexity | 1ebd13c4024084f3a9c5c023f0553c36 MD5 | raw file
 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>Tag Context</strong></td>
28		<td valign="top">
29	       <cfset variables.tagCtxArr = exceptionBean.getTagContext() />
30	       <cfloop index="i" from="1" to="#ArrayLen(variables.tagCtxArr)#">
31	               <cfset variables.tagCtx = variables.tagCtxArr[i] />
32	               #variables.tagCtx['template']# (#variables.tagCtx['line']#)<br>
33	       </cfloop>
34		</td>
35	</tr>
36</table>
37</cfoutput>