say if i've got 3 classes like so

WebFrm > UserClass > DBClass

how do i catch an error in the web form when its thrown in the db class i know u can esculate errors but im not sure how 2


many thanks
zee