Why don't I get a recursive infinite loop when an error is called in the onError function?

In my application.cfc coldfusion file, I define an onError function. In certain situations, I explicitly throw an exception using the cfthrow tag - for example. <cfthrow object="#myException#">. My question is: why does this not create an infinite loop? Or at least call another onError function call? (Instead, it just dumps the error onto the screen. What functionality I want, actually :) - but I'm still confused why this happens.)

0
source share
1 answer

This is the expected and documented behavior:

onError , onError cfthrow, ColdFusion .

+3

All Articles