小山重叠金明灭
鬓云欲渡香腮雪
懒起画蛾眉
弄妆梳洗迟
照花前后镜
花面交相映
新帖绣罗襦
双双金鹧鸪
新帖绣罗襦
双双金鹧鸪
懒起画蛾眉
弄妆梳洗迟
照花前后镜
花面交相映
新帖绣罗襦
双双金鹧鸪
新帖绣罗襦
双双金鹧鸪
双双金鹧鸪
1 2 3 |
|
java.lang.Exception as it is too generic and gives too little information about what went wrong.} catch (ClassCastException e1) { ... } catch (FileNotFoundException e) { ... } catch (IOException e) { ... }
try block be?} finally { try { output.close(); } catch (Throwable e) { e.printStackTrace(); } }
if ( null == variable || variable.isEmpty()){ throw new blahException("the variable cannot be null at this point"); }
NullPointerException in Struts action? Will you handle it separately in every Struts action? No, so pass the exception even further (!)