Created
November 20, 2014 02:43
-
-
Save tang9ian/63023a9e6ecdb9183c37 to your computer and use it in GitHub Desktop.
try catch in cfscript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try{ | |
//exectute some code here... | |
throw(message="cf9+ only for throw in cfscript",detail='the detail for our thrown exception'); | |
catch(any e){ | |
//dump, error log or somethign else here | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment