|
-
Nov 3rd, 2002, 11:33 AM
#1
Creating your own Exception subclass - why?
Anyone have a good reason why you would create your own classes of exceptions? My gut feeling is that this is a good thing to do but books don't offer much advice?
-
Nov 3rd, 2002, 01:19 PM
#2
yay gay
ive been thinkin of that but it looks like it gives a LOT of work =\
-
Nov 3rd, 2002, 01:42 PM
#3
PowerPoster
Well, when you create your own custom classes you may want to throw your own app specific exceptions. For example, to enforce business rules.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|