Item 58: Used checked exceptions for recoverable conditions and runtime exceptions for programming errors
<br />1 use checked exceptions for conditions from which the caller can reasonably be expected to recover.<br />2 use runtime exceptions to indicate programming errors. The majority of runtime exceptions indicate precondition violations.<br />3.All of the
原创
2011-03-08 15:53:00 ·
1082 阅读 ·
0 评论