在巢状的try…. catch结构时,必须注意该例 外是由何者引发并由何者捕捉 try i ry throw new Array IndexoutofBoundsException()i catch(ArrayIndexoutofBoundsException e) i throw new ArithmeticException( catch(ArithmeticException e) i catch(Array IndexoutofBoundsException e)• 在巢状的try...catch结构时,必须注意该例 外是由何者引发并由何者捕捉 try { try { throw new ArrayIndexOutOfBoundsException(); } catch(ArrayIndexOutOfBoundsException e) { …. } throw new ArithmeticException(); } catch(ArithmeticException e) { …. } catch(ArrayIndexOutOfBoundsException e) { …. }