???????Java?е??????????
???????????? ???????[ 2015/3/16 13:43:25 ] ????????Java ??????? ???? ??
????????????????
????public class NeverCaught{
????static void f()throws ExceptionB{
????throw new ExceptionB("exception b");
????}
????static void g()throws ExceptionC{
????try{
????f();
????}catch(ExceptionB e){
????ExceptionC c=new ExceptionC("exception a");
????throw c;
????}
????}
????public static void main(String[]args){
????try{
????g();
????}catch(ExceptionC e){
????e.printStackTrace();
????}
????}
????}
????/*
????exception.ExceptionC
????at exception.NeverCaught.g(NeverCaught.java:12)
????at exception.NeverCaught.main(NeverCaught.java:19)
????*/
??????????????????ExceptionC????д????ExceptionB???????????????????°?!
???????????????????????????????????????????з???????????????????????????????????????????????????????????????????????????????????????????????????
????public class NeverCaught{
????static void f()throws ExceptionB{
????throw new ExceptionB("exception b");
????}
????static void g()throws ExceptionC{
????try{
????f();
????}catch(ExceptionB e){
????ExceptionC c=new ExceptionC("exception a");
????//????
????c.initCause(e);
????throw c;
????}
????}
????public static void main(String[]args){
????try{
????g();
????}catch(ExceptionC e){
????e.printStackTrace();
????}
????}
????}
????/*
????exception.ExceptionC
????at exception.NeverCaught.g(NeverCaught.java:12)
????at exception.NeverCaught.main(NeverCaught.java:21)
????Caused by:exception.ExceptionB
????at exception.NeverCaught.f(NeverCaught.java:5)
????at exception.NeverCaught.g(NeverCaught.java:10)
????...1 more
????*/
???????????????????????????????????????initCause()???????Throwable??е??
??????4.???????
???????????????????????????????????????Щ??????????????????IO??JDBC??????????????????м??????????????????????????ζ?????й??????????????????????????????????????£????????????????????????finally??
????public void readFile(String file){
????BufferedReader reader=null;
????try{
????reader=new BufferedReader(new InputStreamReader(
????new FileInputStream(file)));
????//do some other work
????}catch(FileNotFoundException e){
????e.printStackTrace();
????}finally{
????try{
????reader.close();
????}catch(IOException e){
????e.printStackTrace();
????}
????}
????}
???????????????????????漰???????????????????SPASVOС??(021-61079698-8054)?????????????????????????
??????
Java???????????Щ???????????????Java????????????????Java?б???Map????????Java Web???????????????Java??????????????д?????Java????????7???????????????????????(java .net ?????)???Java??????????Python??????Java webdriver??λ????????′????е?????Java??д??????????????????Java???????????????JavaScript????????????Java?????????????????? Java???????10??????????????Java?м????????????????java???????ü???????????м???????????????????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11????????
?????????App Bug???????????????????????Jmeter?????????QC??????APP????????????????app?????е????????jenkins+testng+ant+webdriver??????????????JMeter????HTTP???????Selenium 2.0 WebDriver ??????