Exceptions: Difference between revisions

Content deleted Content added
Rahul (talk | contribs)
add some details for coldfusion
Line 134:
// 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}}==