Beware of unknown root causes All exceptions are based on the Throwable class. By default, all Throwables can have ...

2014-03-01 00:47:44

阅读数 561

评论数 0

Be specific in throws clause In the throws clause of a method header, be as specific as possible. Do not group toge...

2014-03-01 00:47:05

阅读数 522

评论数 0

Avoid empty catch blocks Most contend that it's usually a very bad idea to have an empty catch block. When the exc...

2014-03-01 00:46:08

阅读数 1013

评论数 0

Avoid @throws in javadoc Some argue that @throws should not be used at all. Instead, one may simply rely on the ...

2014-03-01 00:44:14

阅读数 831

评论数 0

取消 删除