In my coldfusion Application.cfc file, I define an onError function. In certain situations, I explicitly throw an exception using a cfthrow tag - e.g. <cfthrow object="#myException#">
. My question is, why doesn't this create an infinite loop? Or at least cause another call to the onError function? (Instead, it just dumps the error to the screen. Which is the functionality I want, actually :) - but I'm still confused about why this happens.)
相关问题
- How to stop infinite loop in JShell / Kulla?
- How do I identify what code is generating “ '&
- How to specify argument attributes in CFscript? (C
- Coldfusion date conversion: “2013-11-15T06:11:57.8
- Advanced error handling: systematically try a rang
相关文章
- Passing variable through URL with angular js
- <link> onerror do not work in IE
- How do I prevent SQL injection with ColdFusion
- Could not find default endpoint element that refer
- WPF- validation error event doesn't fire
- How to scope closure's variables in CF10?
- What Notable Differences are there between Railo,
- What is the direct cause and source of the “Sorry,
This is expected and documented behavior:
If an exception occurs while processing the onError method, or if the onError method uses a cfthrow tag, the ColdFusion standard error handling mechanisms handle the exception.