Unchecked 异常继承了RuntimeException , 特点是代码不需要处理它们也能通过编译, 所以它们称作 Unchecked 异常。 利用 Unchecked 异常, 可以避免不必要的 try-catch 和 throws 异常处理。