Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Java Exception Handling For Certification & Interviews
Rating: 4.4 out of 5(641 ratings)
31,319 students

Java Exception Handling For Certification & Interviews

Clear Java Certification : OCJA (1Z0-808) In Simple Way
Created byDURGASOFT DURGA
Last updated 8/2019
English

What you'll learn

  • Student can get much perfection on Java Exception Handling Concept

Course content

1 section37 lectures10h 10m total length
  • Java Exception Handling: Agenda8:59
  • Introduction to Exception Handling25:07
  • Runtime Stack Mechanism11:22

    Explore the Java runtime stack mechanism, where each thread has its own stack and frames grow with method calls like main, and the JVM pops frames as methods complete.

  • Default Exception Handling Part-118:41
  • Default Exception Handling Part-213:54
  • Exception Heirarchy and Difference between Exception and Error15:55
  • Difference between Checked and Unchekced Exceptions Part-125:31
  • Difference between Checked and Unchekced Exceptions Part-216:14
  • Difference between Fully-Checked and Partially-Checked Exceptions12:02

    Explain the difference between fully checked and partially checked exceptions in Java, and how they relate to unchecked and runtime exceptions, including one-time and chained checks.

  • Customized Exception Handling By using try-catch16:29
  • Control-Flow inside try-catch15:18
  • Methods to print exception information11:36

    Explore how to print exception information in java using three methods: printStackTrace, toString, and getMessage, and compare their console outputs for exception name, description, and message.

  • Exception Handling:try with multiple catch blocks20:31
  • Exception Handling:Purpose and speciality of finally block19:54
  • Exception Handling:finally block vs return statement9:09
  • Exception Handling:finally block vs System.exit11:57
  • Control-Flow in try-catch-finally10:06

    Explore the control flow of try, catch, and finally in Java, understanding how exceptions affect which blocks run and when finally executes, even when catches do not match.

  • Nested try-catch-finally15:04

    Explore nested try-catch-finally structures to master control flow, showing how inner and outer catches and finally blocks interact, and why keeping risky code out of catch blocks matters.

  • Control-Flow in nested try-catch-finally32:24
  • Various Possible combinations of try-catch-finally24:21

    Explore the various combinations of try, catch, and finally in Java, including multiple catch blocks, the interaction of finally with catch, and rules for valid and invalid sequences.

  • Need of throw keyword18:23

    Explore the need for the throw keyword in Java, showing how to explicitly raise exceptions and differentiate custom exceptions from built-in ones, with handling via try-catch-finally and the JVM.

  • Important cases related to throw keyword20:25
  • Need and Usage of throws keyword23:34
  • throws keyword across multiple methods16:47
  • Important cases related to throws keyword25:27
  • Exception Handling Keywords summary and various possible compile time errors11:51

    Explore Java exception handling keywords, including throw, throws, catch, and finally, and learn to declare or throw checked and unchecked exceptions, use multiple catch blocks, and create custom exceptions.

  • Difference between final, finally and finalize()14:38

    Compare final, finally, and finalize in Java, locating final classes, methods, and variables, understand the finally block for guaranteed cleanup, and examine finalize in relation to garbage collection.

  • User Defined or Customized Exception9:40
  • How to define and use User Defined or Customized Exception24:55
  • Top - 10 Exceptions Part-117:59
  • Top - 10 Exceptions Part-219:10
  • Top - 10 Exceptions Part-320:53
  • Top - 10 Exceptions Summary4:39
  • Try with Resources12:32
  • Important Conclusions about Try with Resources17:29
  • Multi Catch Block12:47
  • Exception Propagation and Re throwing an Exception4:25

    Learn how exception propagation works and how rethrowing an exception transfers the error to callers, including the role of catch blocks and the meaning of throwing an exception.

Requirements

  • It's desirable to have some minimum basic knowledge of Java

Description

The student can get complete knowledge on the following topics:

1. Introduction to Exception Handling

2. Runtime Stack Mechanism

3. Default Exception Handling

4. Exception Heirarchy and Difference between Exception and Error

5. Difference between Checked and Unchekced Exceptions

6. Difference between Fully-Checked and Partially-Checked Exceptions

7. Customized Exception Handling By using try-catch

8. Control-Flow inside try-catch

9. Methods to print exception information

10. Exception Handling:try with multiple catch blocks

11. Exception Handling:Purpose and speciality of finally block

12. Exception Handling:finally block vs return statement

13. Exception Handling:finally block vs System.exit()

14. Control-Flow in try-catch-finally

15. Nested try-catch-finally

16. Control-Flow in nested try-catch-finally

17. Various Possible combinations of try-catch-finally

18. Need of throw keyword

19. Important cases related to throw keyword

20. Need and Usage of throws keyword

21. throws keyword across multiple methods

22. Important cases related to throws keyword

23. Exception Handling Keywords summary and various possible compile time errors

24. Difference between final, finally and finalize()

25. User Defined or Customized Exception

26. How to define and use User Defined or Customized Exception

27. Top - 10 Exceptions

28. Try with Resources

29. Important Conclusions about Try with Resources

30. Multi Catch Block

31. Exception Propagation and Re throwing an Exception

32. Exception Handling 9 Practice Questions & Explanation


Who this course is for:

  • Anyone looking to clear Java Certification
  • Anyone looking to clear Java Interviews
  • Anyone to get perfection on day to day coding requirements on Exception Handling Concepts