Whatever message this page gives is out now! Go check it out!
<cferror type = "exception"
exception = "lock"
template = "../common/lockexcept.cfm"
mailto = "server@mycompany.com"><html>
<head>
<title>Products - Error</title>
</head>
<body>
<h2>Sorry</h2>
<p>An error occurred when you requested this page.</p>
<p>Please send e-mail with the following information to #error.mailTo# to report
this error.</p>
<table border=1>
<tr><td><b>Error Information</b> <br>
Date and time: #error.DateTime# <br>
Page: #error.template# <br>
Remote Address: #error.remoteAddress# <br>
HTTP Referer: #error.HTTPReferer#<br>
</td></tr></table>
<p>We apologize for the inconvenience and will work to correct the problem.</p>
</body>
</html><html>
<head>
<title>Products - Error</title>
</head>
<body>
<h2>Data Entry Error</h2>
<p>You failed to correctly complete all the fields
in the form. The following problems occurred:</p>
#error.invalidFields#
</body>
</html>
<cferror type="exception" exception="TypeA" template="handlerA.cfm">
<cferror type="exception" exception="TypeB" template="handlerB.cfm">
<cferror type="exception" exception="TypeC" template="handlerC.cfm">
<cferror type="exception" exception="OrderError" template="order_error_v1.cfm">
<cferror type="exception" exception="OrderError" template="order_error_v2.cfm">
<cferror type="exception" template="generic_exception.cfm">
<cferror type="exception" exception="PaymentError" template="payment_error.cfm">
<cfscript>
try {
throw(message="Custom message", type="Expression");
writeOutput("[PASS] <br>");
} catch (any e) {
writeOutput("[FAIL] #e.message# (#e.type#)<br>");
}
</cfscript>