exceptions .... conventions...?
hello forum
i'm working on first as3 app. i'm wrapping head around exceptions. wanted ask conventions regarding place custom exceptions... let's there's com.project.preloader package responsible preloading bunch of config , data xml files. there few things go wrong (1) file doesn't exist, or (2) file has missing data or (3) data not formated properly... if create custom errors each of recommend placing them? make sense creating com.project.exceptions package? or place them in com.project.preloader package?
any preferences?
thanks
sk
its entirely you.
if me...and exceptions specific preloader , never thrown other preloader, put them in subfolder of preloader package.
edit: know asking 'conventions' .... guess there might some, somewhere... haven't seen as3 specific ones address type of question...perhaps there in 'principles of object-oriented coding' guide somewhere....so answer here in absence of reading of stuff....
More discussions in ActionScript 3
adobe
Comments
Post a Comment