FRM-41213 ERROR Handling [message #589435] |
Fri, 05 July 2013 11:29 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](http://www.gravatar.com/avatar/aba9852e029dc364c8cc5cc9e0d5914a?s=64&d=mm&r=g) |
ssemblano
Messages: 1 Registered: July 2013 Location: Portugal
|
Junior Member |
|
|
Hi,
I'm trying to catch the FRM-41213 ERROR (Unable to connect to the report server), so I can switch the generation to another report server.
At runtime the message FRM-41213 appers but I'm unable to catch it using 'exception' or 'error_code'.
Can anyone help me?
Here's my code:
begin
v_rep := run_report_object (repid, pl_id);
if err_type = 'FRM' and (err_code = '41213' or err_code = '41214') then
message('ss error catch');
end if;
exception
when others then
message('ss error to handle');
end;
|
|
|
Re: FRM-41213 ERROR Handling [message #589436 is a reply to message #589435] |
Fri, 05 July 2013 12:59 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
![](http://www.orafaq.com/forum/images/custom_avatars/72104.gif) |
Littlefoot
Messages: 21818 Registered: June 2005 Location: Croatia, Europe
|
Senior Member Account Moderator |
|
|
Did you try to capture it in one of ON-ERROR (or ON-MESSAGE, but that's not likely) triggers? Even if you manage to do that, huh, what would you do then? How to switch to another server? Using a timer, perhaps? I wouldn't know how to do that, I'm just thinking aloud (maybe something of the above rings a bell for you).
|
|
|