异常信息打印
?
try { //调用业务,略 } catch (Exception e) { System.out.println("抛出异常"); if(e instanceof SystemException) { SystemException ex =(SystemException)e; System.out.println("errorcode>>>>"+ex.getErrorCode()); } e.printStackTrace(); }?