Exception Handling in Java

von
Coursera Project Network
In diesem angeleitetes Projekt werden Sie:

Understand the differences between an exception and an error.

Understand how to raise an exception.

Understand how to utilise try, catch and finally clauses.

Clock1 hours 30 minutes
BeginnerAnfänger
CloudKein Download erforderlich
VideoVideo auf geteiltem Bildschirm
Comment DotsEnglisch
LaptopNur Desktop

By the end of this project, you will have an understanding of error and exception handling in java. Once you have a beginner's knowledge of java programming and start coding you may find that something disrupts the normal flow of the program you have built. You may find yourself with errors in your code. This course will provide students with the knowledge behind exception handling in java and show how to write high-quality code to ensure that if your java program encounters a situation that it cannot cope with that the right procedures are in place to provide meaningful information and deal with those errors. Thus, ensuring that your code is efficient and robust is an essential aspect of writing high-quality code. This project will take students through a number of examples demonstrating several of the most useful java exceptions. You will gain an understanding of exception handling in java from the in-depth examples provided. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Kompetenzen, die Sie erwerben werden

  • software engineering principles
  • development
  • Software
  • Exception Handling
  • Java

Schritt für Schritt lernen

In einem Video, das auf einer Hälfte Ihres Arbeitsbereichs abgespielt wird, führt Sie Ihr Dozent durch diese Schritte:

  1. By the end of Task 1, you will be able to understand the difference between an error and an exception.

  2. By the end of Task 2, you will demonstrate raising an exception.

  3. By the end of Task 3, you will be able to understand the differences between a check and unchecked exception.

  4. By the end of Task 4, you will be able to demonstrate try and catch clauses.

  5. By the end of Task 5, you will be able to implement a finally clause.

Ablauf angeleiteter Projekte

Ihr Arbeitsbereich ist ein Cloud-Desktop direkt in Ihrem Browser, kein Download erforderlich

Ihr Dozent leitet Sie in einem Video mit geteiltem Bildschirm Schritt für Schritt an.

Häufig gestellte Fragen

Häufig gestellte Fragen

Haben Sie weitere Fragen? Besuchen Sie das Learner Help Center.