Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

RAISE_APPLICATION_ERROR

Rajan SwMar 4 2014 — edited Mar 4 2014

Hi Guys,

Can anyone tell me the values of keep_errors in RAISE_APPLICATION_ERROR like as per the documentation the syntax of the raise_application_error is RAISE_APPLICATION_ERROR(ERROR_NUMBER,ERROR_MESSAGE,KEEP_ERRORS) where the error no is the number between -20000 and -20999 and the error message is the user defined message and keep_errors is the boolean value if it is true then the error will be added to the error stack other wise it will purge the stack and add the recent error.

however when I am using this i am getting the following error,Please suggest if any body has any better solutions to use this

Declare

 

 

  begin

 

    If 200 > 100 Then

      Raise_Application_Error (-20001,'The if condtion is fine','TRUE');

    End If;

END ;

Below is the error I am getting

Error starting at line 1 in command:

Declare

 

 

  begin

 

    If 200 > 100 Then

      Raise_Application_Error (-20001,'The if condtion is fine','TRUE');

    End If;

END ;

Error report:

ORA-06550: line 7, column 7:

PLS-00306: wrong number or types of arguments in call to 'RAISE_APPLICATION_ERROR'

ORA-06550: line 7, column 7:

PL/SQL: Statement ignored

06550. 00000 -  "line %s, column %s:\n%s"

*Cause:    Usually a PL/SQL compilation error.

*Action:

Regards,

Ranjan

This post has been answered by Hoek on Mar 4 2014
Jump to Answer

Comments

Gyanprakash Pandey
Refer doc below:
http://docs.oracle.com/cd/E21764_01/doc.1111/e15478/webgate.htm#BABHCBGG

regards,
GP
user13714831
Hi - Did you get answer to your question? if yes - could you pls share?

Even we are using Apache 2.2.x and OAM 11.1.1.5. I wanted to know if OAM 11g Webgate is available/supported for Apache 2.2.x? As per OAM 11g webgate certification matrix it supports "Oracle HTTP Server 11gR1 (11.1.1.2+) based on Apache 2.2.x" but not sure if Apache 2.2 is certified and supported by 11g agents?
User_BR1OQ
Hi,

As of now Webgate 11g is not supported with Apache 2.2 or any other Apache version. There is a big architecture difference in OHS11g and Apache 2.2, even though OHS11g is based on Apache2.2.

If you need a webgate for Apache2.2 then you should be using 10g webgates.

~Yagnesh
1 - 3
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Apr 1 2014
Added on Mar 4 2014
12 comments
1,368 views