Java #06 - Exceptions and Input Validation

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
9,654
Loading...
Alert icon
Sign in or sign up now!
Alert icon
There is no Interactive Transcript.

Uploaded by on Jun 1, 2009

Explains Java exceptions, the try-catch block, and using a loop and try-catch to validate input. Download source code from http://java.martincarlisle.com.

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:
see all

All Comments (8)

Sign In or Sign Up now to post a comment!
  • Ahh finially. I understand now. I had user input and when I caught my exception it would do what I wanted it to do in the catch block over and over.

  • short and clear and good, thanks

  • thumbs up for having no idea wat this vid is about! ^.^

  • This is information about icarnegie 3 

  • thank you a millon times ive been looking for this

  • This is exactly what I needed!!!!!!!!!!!!!!!!!!!!!!!!­! Thank You soooo much. spent hours on this - was basically missing the discard teh bad input part :(!

  • I just started with Java (for Android), comming from C++/.NET, and find it REALLY annoying that Try Catch are forced on you. Gives really ugly code... :(

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more