<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>异常处理 on WishBottle</title><link>https://wishbottle.cn/tags/%E5%BC%82%E5%B8%B8%E5%A4%84%E7%90%86/</link><description>Recent content in 异常处理 on WishBottle</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Thu, 08 Oct 2026 00:00:00 +0800</lastBuildDate><atom:link href="https://wishbottle.cn/tags/%E5%BC%82%E5%B8%B8%E5%A4%84%E7%90%86/index.xml" rel="self" type="application/rss+xml"/><item><title>Java 学习笔记（三）：异常处理与文件保存</title><link>https://wishbottle.cn/posts/java-notes-20261008/</link><pubDate>Thu, 08 Oct 2026 00:00:00 +0800</pubDate><guid>https://wishbottle.cn/posts/java-notes-20261008/</guid><description>&lt;blockquote&gt;
&lt;p&gt;说明：本文记录整数输入重试和文本文件保存的学习过程。代码片段按当日练习阶段整理，文件路径统一使用示例写法。&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 class="heading" id="摘要"&gt;
 摘要
 &lt;a class="anchor" href="#%e6%91%98%e8%a6%81"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;今天处理了两件事：输入字母时让程序继续运行，以及把学生名单写入文件。重点是 &lt;strong&gt;&lt;code&gt;try-catch&lt;/code&gt;、循环重试、输入清理和资源关闭&lt;/strong&gt;。&lt;/p&gt;</description></item></channel></rss>