comment

Action executed in 0.000

Too short

Agree, but I would like to see ar real life positive example.
What's wrong is that this example is too short. I have yet to see a nice user input exception handling for a real life database entry screen. Ok, I can throw new Exception( "User is dumb.", NFE ) or maybe better, UserIgnorantlyTriesToEnterNotNumberException but I myself have to handle this puppy too or else it will go screaming up. And the dumb user will not pay me for such software!
parent post: Exceptions
notify me: yes

Comments

Target Audience

homme, You're right. Software intended for a common user should handle exceptions. I failed to explain that the software i write is usually for my own use, either at home or work. If i find some time, unlikely, i'll post a more thorough example.
parent post: Too short
notify me: yes

Post a Comment

* indicates a required field
anonymous (If you want to identify yourself, please sign in first.)
required This field is required.

Max size is 2 MB, aspect ratio 3:4 width:height
required This field is required.
Please include a short description.
required This field is required.

480 characters remaining.
is public

(Use this field if you have to. 3000 characters remaining.)
1 nickel, 2 dimes, 1 penny + 100

Trackback URL

http://derocher.org/~brian//trackback.php?ParentId=1956

form