Try/Catch in CFSCRIPT, UDFs
Try/Catch in CFSCRIPT, UDFs
<cfscript>
function test() {
name="bob";
try{
if (myname is "bob") {
writoutput("ok");
}
}
catch(any excpt){
writeOutput("This is an error!");
}
}
</cfscript>
<cfoutput>
#test()#
</cfoutput>
Previous slide
Next slide
Back to first slide
View graphic version
Home
Speakers
Directions
Schedule
Photos
CF Conf Central
Please send comments/questions to
[email protected]