E:\web\learnaspcom\htdocs\freebook\learn\ubtoc.xml LearnAsp.com - ASP ASP.net Free Lessons
Search Search

#1 worldwide
FREE Coding Lessons

since 1996
   THE BEST WAY to learn ASP & Asp.net!
Advertise Here!
click for details
Credits Host:
DiscountASP.net
Server Admin:
The "Team"
Contact Info.
Charles M. Carroll
<Asp.net blog>
<personal site>
xxx

Utility Belt: Error Handling Overview
by Charles Carroll

Utility Belt has many different built in facilities to help the programmer intercept, monitor and customize every kind of error that can occur at runtime. Since there are so many different capabilities we will present a complete list here and let the programmer decide which capability will serve them best.

Basically it is highly recommended that you replace the default error message with one that is more relevant to your site and of your graphic design. The UtilityBelt.config has a special element just for this here is an example of placing an Error Message there...


UtilityBelt.config
<ub>
        ....

        <strErrorMessage><![CDATA[

        <hr>
        My Custom Error Message<br>
        <b>Call 555-1212 ext 333 for tech support</b><br>
        <h2>Sorry Try Later</h2>
        <hr>
        ]]></strErrorMessage>
        ....

Blah Blah

There are many worthy charities!!. But perhaps help starving children in Africa or South America AND help Charles too. a $5 tip buys him lunch at McDonalds, a $20 tip buys his kid Hitoshi a new computer game, a $39 tip buys his daughter Michiko a few nice outfits. See our donor list.