Friday, June 10, 2016

Lesson 1 Exception

by Raksmey  |  at  8:25:00 PM


The Java programming language use exceptions to handle error and other exceptional events.
This lesson describes when and how to use exceptions.

What is an Exception?

An exception is an event that occurs during the exception of program that disrupts the normal flow of instructions.

The Catch or Specify Requirement

This section covers how to catch and handle exceptions. The discussion includes the try, catch, and finally blocks, ad well as chained exceptions and logging.

How to Throw Exceptions 

This section covers the throw statement and the throwable class and its subclasses.

The try-with-resources Statement

This section describes the try-with-resources statement, which is a try statement that declares one or more resources. A resources is as an object that must be closed after the program is finished with it. The try-with-resource statement ensures that each resource is closed at the end of the statement.

Unchecked Exceptions The Controversy

This section explain the correct and incorrect use of the unchecked exception indicated by subclasses of RuntimeException.

Advantages of Exceptions

The use of exceptions to manage error has some advantages over traditional error-management techniques, You'll learn more in this section.









Essential Classes

by Raksmey  |  at  7:52:00 PM

This trail discusses classes from the java platform that are essential to most programming.

    1. Exceptions
explains the exception mechanism and how  it is used to handle errors and other exceptional conditions. This lesson describe what an exception is, how to throw and catch exceptions, what to do with an exception once it has been caught, and how to use the exception class hierarchy.
 
2. Basic I/O

covers the java platform class used for basic input output. It focuses primarily on I/O Stream, a powerful concept that greatly simplifier I/O operation. The lesson also looks at Serialization, Which lets a program write whole objects out of streams and read them back Finally, It touch briefly on the advanced feature of the new I/O API.

Proudly Powered by Blogger.