try {
...
} catch (SQLException sqle) {
String theError = (sqle).getSQLState();
...
}用括号包围sqle有什么作用?什么都行?
只是好奇而已。
发布于 2009-01-06 02:12:58
快速回复--什么都没有。
更长的回复-它可能是内联转换的残留物:
((SomeMoreSpecificException)sqle).get...https://stackoverflow.com/questions/415179
复制相似问题