Exceptions: Difference between revisions

Content added Content deleted
(add some details for coldfusion)
Line 134: Line 134:
// handle any type of exception not handled by above catches
// handle any type of exception not handled by above catches
}
}


=={{header|ColdFusion}}==
===Catch Exceptions===
inside <cfscript>:

try {
foo();
} catch (Any e) {
// handle exception e
}

otherwise:
<cftry>
<cfcatch type="Database|...">
</cfcatch>
</cftry>


=={{header|Factor}}==
=={{header|Factor}}==