Next: 6.4 Exceptions internes génériques
Up: 6 Gestion des exceptions
Previous: 6.2 Erreur ORACLE prédéfinie
  Contents
Syntaxe: DECLARE
nom_erreur EXCEPTION;
PRAGMA EXCEPTION_INIT (nom_erreur, code_erreur_ORACLE);
EXCEPTION
WHEN nom_erreur THEN ......
END;
Ex : DECLARE
e_dater EXCEPTION;
PRAGMA EXCEPTION_INIT (e_dater, -01847 );
BEGIN
v_dat := TO_DATE ( '&datref');
EXCEPTION
WHEN e_dater THEN ......
END;
Florence Bannay
2000-11-13