精选优质文档-倾情为你奉上-异常处理declare sNum number := 0;begin sNum := 5 / sNum; dbms_output.put_line(sNum);exception when others then dbms_output.put_line(is Error!);end; -自定义异常declare ex_custom_invaild_age exception; -自定义的异常myerr age int;begin age := &请输入年龄; if (age 0) then raise ex_custom_invaild_age; -引发自定义异常 else dbms_output.put_line(年龄是: | age); end if;exception when ex_custom_in