Java Exceptions Handling, Assertion, Java Logging API




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.

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

Url: View Details

What you will 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

Rating: 3.15

Level: All Levels

Duration: 1 hour

Instructor: Sera Nguyen


Courses By:   0-9  A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z 

About US

The display of third-party trademarks and trade names on this site does not necessarily indicate any affiliation or endorsement of course-link.com.


© 2021 course-link.com. All rights reserved.
View Sitemap