Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> How to capture Oracle Error

How to capture Oracle Error

From: <NeedaHoliday>
Date: Mon, 09 Jul 2001 11:22:30 -0400
Message-ID: <q0ijktcl5s399aterrbk1g8pfkf0ilcmen@4ax.com>

Could someone tell me how to capture the following;

I have a procedure with the following parameters;

CREATE OR REPLACE PROCEDURE SP_LOAD_REVEXP_TBL

(IN_Inv_Per  CHAR,
 IN_Prj_Id   NUMBER,
 IN_Cust_Id  CHAR)

IS

If I execute this without parameters I get

ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in call to 'SP_LOAD_REVEXP_TBL'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored

What I want to do is, override the Oracle error and put my own.

Is there a way ?

THanks in advance Received on Mon Jul 09 2001 - 10:22:30 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US