Professor:li
Date:2021-05-20
views: 630
  • 00:08 1.
    Java Programming: Exceptions and Assertions
  • 00:54 2.
    Outline (Ch 12.1-12.9)
  • 01:43 3.
    Exception
  • 01:55 4.
    Traditional Approach to Exceptions
  • 01:00 5.
    Example for Traditional Handling of Unexpected Errors
  • 01:05 6.
    Exceptions in Java
  • 03:03 7.
    Exception Handling
  • 01:34 8.
    Run-Time Error on Executing Zero
  • 01:42 9.
    Catch an Exception Where It Occurs
  • 00:56 10.
    Catching Exceptions by Calling Methods
  • 03:02 11.
    Example: Handling Input Mismatch
  • 01:16 12.
    The try Statement
  • 02:00 13.
    Example: Catching Different Exceptions
  • 01:46 14.
    Exception Types
  • 00:28 15.
    System Errors
  • 00:09 16.
    Exceptions
  • 00:39 17.
    Runtime Exceptions
  • 00:18 18.
    Checked or Unchecked Exceptions
  • 01:58 19.
    Checked Exceptions vs. Unchecked Exceptions
  • 01:08 20.
    Exception Propagation
  • 02:49 21.
    Illustration of Exception Propagation
  • 01:52 22.
    Declaring, Throwing, and Catching Exceptions
  • 00:31 23.
    Defining an Exception Class
  • 01:20 24.
    Throwing Exceptions
  • 01:27 25.
    The finally Clause
  • 00:46 26.
    The finally Clause
  • 03:13 27.
    Example: finally-Clause Usage
  • 00:54 28.
    The Throwable and Exception Classes
  • 01:23 29.
    Methods in an Throwable
  • 01:25 30.
    StackTraceElement
  • 00:35 31.
    Syntax Enhancement of Exceptions since Java 7
  • 00:43 32.
    Handling More Than One Type of Exception
  • 01:01 33.
    Rethrowing Exceptions with More Inclusive Type Checking
  • 02:59 34.
    The try-with-resources Statements
  • 01:46 35.
    Note on Using Exceptions
  • 01:40 36.
    Assertions
  • 02:00 37.
    Executing Assertions Example
  • 01:49 38.
    Running Programs with Assertions
  • 01:14 39.
    Exception Handling vs. Assertions
  • 02:34 40.
    Using Exception or Assertions
  • 01:30 41.
    Occasions of Using Assertions
  • 01:48 42.
    Conclusions
  • Index
  • Notes
  • Fullscreen
javap11-exception
Duration: 1:02:24, Browse: 630, Last Updated: 2021-05-20
    • 00:08 1.
      Java Programming: Exceptions and Assertions
    • 00:54 2.
      Outline (Ch 12.1-12.9)
    • 01:43 3.
      Exception
    • 01:55 4.
      Traditional Approach to Exceptions
    • 01:00 5.
      Example for Traditional Handling of Unexpected Errors
    • 01:05 6.
      Exceptions in Java
    • 03:03 7.
      Exception Handling
    • 01:34 8.
      Run-Time Error on Executing Zero
    • 01:42 9.
      Catch an Exception Where It Occurs
    • 00:56 10.
      Catching Exceptions by Calling Methods
    • 03:02 11.
      Example: Handling Input Mismatch
    • 01:16 12.
      The try Statement
    • 02:00 13.
      Example: Catching Different Exceptions
    • 01:46 14.
      Exception Types
    • 00:28 15.
      System Errors
    • 00:09 16.
      Exceptions
    • 00:39 17.
      Runtime Exceptions
    • 00:18 18.
      Checked or Unchecked Exceptions
    • 01:58 19.
      Checked Exceptions vs. Unchecked Exceptions
    • 01:08 20.
      Exception Propagation
    • 02:49 21.
      Illustration of Exception Propagation
    • 01:52 22.
      Declaring, Throwing, and Catching Exceptions
    • 00:31 23.
      Defining an Exception Class
    • 01:20 24.
      Throwing Exceptions
    • 01:27 25.
      The finally Clause
    • 00:46 26.
      The finally Clause
    • 03:13 27.
      Example: finally-Clause Usage
    • 00:54 28.
      The Throwable and Exception Classes
    • 01:23 29.
      Methods in an Throwable
    • 01:25 30.
      StackTraceElement
    • 00:35 31.
      Syntax Enhancement of Exceptions since Java 7
    • 00:43 32.
      Handling More Than One Type of Exception
    • 01:01 33.
      Rethrowing Exceptions with More Inclusive Type Checking
    • 02:59 34.
      The try-with-resources Statements
    • 01:46 35.
      Note on Using Exceptions
    • 01:40 36.
      Assertions
    • 02:00 37.
      Executing Assertions Example
    • 01:49 38.
      Running Programs with Assertions
    • 01:14 39.
      Exception Handling vs. Assertions
    • 02:34 40.
      Using Exception or Assertions
    • 01:30 41.
      Occasions of Using Assertions
    • 01:48 42.
      Conclusions
    Location
    Folder name
    資科系 李蔡彥老師
    Author
    李蔡彥
    Branch
    nccu
    Created
    2021-05-20 11:03:17
    Last Updated
    2021-05-20 12:02:55
    Browse
    630
    Duration
    1:02:24