46 – try catch throw ( Error; Exception; Checked; Unchecked ) | Java Tutorials

Home/Programming Video Tutorials/Java Video Tutorials/46 – try catch throw ( Error; Exception; Checked; Unchecked ) | Java Tutorials

46 – try catch throw ( Error; Exception; Checked; Unchecked ) | Java Tutorials

FavoriteLoadingAdd to favorites

Learn how to use the try catch block in java. This video also goes over the two types of Throwable objects (Error and Exception), checked exceptions vs unchecked exceptions, how to group exceptions and errors, and how to throw them.

Java468x60

| Language
Java (.java /.class)

| Code Example
https://github.com/simply-coded/Java-Tutorials

| Support
https://www.paypal.me/JeremyE

By | 2017-06-13T02:08:58+00:00 June 13th, 2017|Java Video Tutorials|7 Comments

7 Comments

  1. Lloyd Miller June 13, 2017 at 2:24 am - Reply

    bird

  2. DarkMatter June 13, 2017 at 2:24 am - Reply

    Java vs c#

  3. Birkhan Sonkan June 13, 2017 at 2:32 am - Reply

    Is this the right way doing an error handling within the method?

    static int intDivide(int n1, int n2){

    try{
    return(n1/n2);
    }
    catch(Exception e){
    throw e;
    }
    }

  4. SimplyCoded June 13, 2017 at 2:34 am - Reply

    Hey I am working on putting all the code from these videos on GitHub, so if you want to copy and paste instead of typing, check out the new updated description links!

  5. Keerat Saini June 13, 2017 at 2:52 am - Reply

    I think you should make some intro for your videos

  6. Uros Ogrizovic June 13, 2017 at 2:58 am - Reply

    bird

  7. Keerat Saini June 13, 2017 at 3:08 am - Reply

    Thank you! you are helping me a lot

Leave A Comment

*