--例子:
                    declare
                               e_integerity exception;
                               e_no_employee exception;
                               pragma exception_init(e_integerity,-2291);
                    begin
                      update scott.emp set deptno=40 where empno=-1;
                          if sql%notfound then
                            raise e_no_employee;

                          end if;
                      exception
                        when e_integerity then
                          dbms_output.put_line('该部门不存在');
                        when e_no_employee then
                          dbms_output.put_line('该员工不存在');
                    end;
刚学这个,感觉有些代码没有完全懂,希望得到解释,谢谢