对throw和throws区别理解 throw 作用于方法内,主动抛出 throw new Exception(); throws 作用于方法声明上 框架为什么都是继承RuntimeException 框架:定义一系列规则 你没有按照框架的规则去使用,逻辑错误。 并不是语法错误。