---
title: "checked异常和unchecked异常"
author: "lisanping"
date: "2007-08-01T18:06:25Z"
tags: ["C", "C#", "C++", "Java"]
slug: "checked-unchecked"
draft: false
lastmod: "2007-08-01T18:06:25Z"
id: 107978
url: "https://lisanping.iteye.com/blog/107978"
---

checked异常:如果一个异常是有被调用者处理的,那么它是个checked异常  
unchecked异常:如果一个异常需要调用者处理的,那么它是个unchecked异常