在异常处理的情况下,我有一个关于java标准的查询. 代码段:public String methodXXX(){ //This method may throw IllegalArgumentexception and arrayoutofboundaryException. }在这种情况下,哪个是良好的编码标准,请告诉我原因情况1:public String methodXXX() throw IllegalArgumentexception,ArrayoutofBoundaryException.{ //This method may throw IllegalArgumentexception and arrayoutofboundaryException. }案例2:publi...