<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Java Throw &amp; Throws :: CC 210 Textbook</title>
    <link>https://textbooks.cs.ksu.edu/cc210/10-exceptions/06-java/04-throws/video/index.html</link>
    <description>Resources Slides Video Script Let’s look at a couple more things related to exceptions in Java.&#xA;First, consider this program. We’ve seen code very similar to this many times throughout this textbook so far. Can you see what’s missing?&#xA;It’s pretty tough. Let’s try to compile this code and see what happens. Uh oh! When we do, we’ll get the following error about an unreported exception. This is because the FileNotFoundException is an example of a checked exception in Java. Whenever our program includes code that could cause this error, we have to either place it in a Try-Catch statement, or declare that our code could throw that exception.</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 02 Jan 2023 21:18:16 -0600</lastBuildDate>
    <atom:link href="https://textbooks.cs.ksu.edu/cc210/10-exceptions/06-java/04-throws/video/index.xml" rel="self" type="application/rss+xml" />
  </channel>
</rss>