here is what I ended up doing.  When I cfthrow a message I want the
user to see, I add type="friendly".

Then in my exception file I have this:

<cfif exception.type EQ "friendly">
        <h2 style="font-size: 16px;">Error Message:
<cfoutput>#exception.message#</cfoutput></h2>
</cfif>

Works great. I have something in there that displays all the exception
information if I'm browsing locally.  So this way I don't have to
duplicate the cfthrow message into an "ErrorMessage" variable, and the
cfthrow message makes its way into the full debugging information
(when browsing locally) and also to the end user if I've tagged it as
such.

-Ryan

-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

Reply via email to