Thread: try catch!?
View Single Post
  #2 (permalink)  
Old 01-28-2008, 05:51 PM
jelly's Avatar
jelly jelly is offline
Member
 
Join Date: Jan 2008
Location: Somerset, UK
Posts: 46
jelly is on a distinguished road
Why not have the check functions return void and then throw an exception if a validation failure occurs, the function could wrap up the details inside the exception
__________________
-- Hope that helps
Reply With Quote