Hi Chris I can see that when you dump out cferror, the thrown exception is stated in the structure, my problem lies in that I can't seem to get Cold Fusion to go to the correct template... The two scenarios are below and it goes against what my thinking was...
- SCENARIO ONE TEMPLATE <cferror type="exception" exception="com.whatever" template="cferror_comwhatever.cfm"> <cferror type="exception" exception="com.whatever.validation" template="cferror_comwhatevervalidation.cfm"> <cfthrow type="com.whatever.validation" message="this is the 'com.whatever.validation' error calling"> - SCENARIO ONE RESULT Invokes cferror_comwhatevervalidation.cfm This appears correct as the custom exception is handled by the correct cferror tag - SCENARIO TWO TEMPLATE <cferror type="exception" exception="com.whatever" template="cferror_comwhatever.cfm"> <cferror type="exception" exception="com.whatever.validation" template="cferror_comwhatevervalidation.cfm"> <cfthrow type="com.whatever" message="this is the 'com.whatever' error calling"> - SCENARIO TWO RESULT Invokes cferror_comwhatevervalidation.cfm Should this not invole the cferror_comwhatever.cfm? This is what I don't understand.... Is this not the way to do it? For info, if I change the order of the cferror, it just uses the last one rather than specifically the one stated in the type for cfthrow. Hope that makes sense. Thanks for any help. -- dc ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net http://www.cfhosting.net Message: http://www.houseoffusion.com/lists.cfm/link=i:4:186822 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

