Udemy

Java Exceptions Handling, Assertion, Java Logging API

Enroll Now
  • 1,251 Students
  • Updated 3/2015
3.6
(32 Ratings)
CTgoodjobs selects quality courses to enhance professionals' competitiveness. By purchasing courses through links on our site, we may receive an affiliate commission.

Course Information

Registration period
Year-round Recruitment
Course Level
Study Mode
Duration
0 Hour(s) 48 Minute(s)
Language
English
Taught by
Sera Nguyen
Rating
3.6
(32 Ratings)

Course Overview

Java Exceptions Handling, Assertion, Java Logging API

A fundamental guide on Java Exceptions Handling - Assertion - Java Logging API

One of the fundamental skills in Java language as well as in other programming langues is to master how to handle errors in applications.

Java provides a powerful and flexible way to help you in controlling your programs in a stable mode even in cases runtime exceptions occur.

Handling errors in Java applications involves Exception Handling, Assertion, and Logging.

Exceptions handling may sound simple but if you don't know fundamental concepts and techniques clearly, you may or may have been using it in the wrong way.

In the Exception Handling section, I will walk you through all the core concepts and vital techniques, including:

  • Basic usage of try-catch block
  • Exception types
  • When to use throws and throw keywords
  • The finally block
  • Locating exceptions code
  • New features in Java 7: catching multiple exceptions, try-with-resource
  • Make your own exception classes.
  • And more coming.

You will also learning how to use the assert keyword and enable/disable it in your code.

Along with Exception Handling and Assertion, you will also learn how to record information which might generate during the program execution with the Java Logging API.

In this section, I will show you how to:

  • Record information with different levels and Handlers
  • Create your own custom handler with custom format: text, HTML
  • Change the default settings for logging in JDK.

The course includes all the sample source code for each lecture.

Hope you enjoy the course, and do not hesitate to ask questions in the discussion section if you have any.

Course Content

  • 3 section(s)
  • 14 lecture(s)
  • Section 1 Exception Handling Fundamentals
  • Section 2 Java Logging API
  • Section 3 Appendix

What You’ll Learn

  • Handle errors in Java applications with try-catch technique, Apply different handling exception techniques, Utilize exception handling techniques in finding errors in Java applications, Write custom exception classes for handling errors, Apply assertion technique in testing code, Apply Java Logging API for recording application information effectively, Master logging levels and handlers, Create custom handlers, Apply changes in default logging settings

Skills covered in this course


Reviews

  • F
    Ferenc Kiss
    3.0

    Hard to understand his accent, a subtitle would be great. Covers only the very basics of the topics without explaining how/where/why use them. I'm really missing best practices and anti-patterns.

  • E
    Elie S. Nassif
    1.0

    The instructor should get somebody to speak on his behalf.

  • C
    Cary Gillam
    2.5

    Very hard to understand speaking.

  • M
    Michael Wright
    4.5

    The content is excellent but the lecturer can be hard to understand. I do recommend this course for a quick way to understand exceptions and logging in Java.

Start FollowingSee all

We use cookies to enhance your experience on our website. Please read and confirm your agreement to our Privacy Policy and Terms and Conditions before continue to browse our website.

Read and Agreed