抛出异常可以给人家提示出信息,人家可以知道哪错了. 是主动的防范。 是这样的吗? 转载于:https://www.cnblogs.com/catkins/archive/2012/04/22/5270797.html