The exception of DOM JmsAdapter analysis management

Hello

I am currently facing a problem with the behavior of the Jms adapter.

Whenever a JMS message is put in the queue, and the message is not XML valid, the Jms adapter (consumer) throw the exception "DOM Parsing Exception to the Exception translator".

It's fine, I understand that the message was not well-formed. But what is not fine is that the underlying BPEL is not instantiated: which means that I can't handle the exception properly.

Y at - there a way to force the Jms adapter not crashing on the analysis of DOM for the BPEL to be instantiated (and then be able to handle the exception it)?

Or is there a way to manage the error thrown by the Jms adapter itself? How?

I think that I have a workaround if there is no better option (if the two above questions cannot be decided) but I would rather not implement it since it will be a few extra steps / complexity.

> It would be to check the option "opaque schema native format" and then use a java embedded in order to decode the base64 string for finally parsing it.

Kind regards

Mathieu

Hi Mathieu,

Error messages before being assigned to the infrastructure of service are called rejects messages. For example, the Oracle file adapter selects a file with data in the CSV format and try to translate it into XML format (using NXSD). If there is a mistake in translation, the message is rejected and are not counted for the composite target.

You can create release managers to manage message errors. Message errors include those that occur during translation, incompatibility of correlation and analysis XML ID after receipt of the message.

Docs on how to do that are here...

http://docs.Oracle.com/CD/E28280_01/integration.1111/e10231/life_cycle.htm#CIAIICJJ

See you soon,.

Vlad

Tags: Fusion Middleware

Similar Questions

  • Management concept the exceptions that went wrong!

    Well, this is by far the most embarrassing hack code I've done so far... but it works. I'm trying to run a select where if there is no data or null returned, place it in the value "v_pidm"and then let the action happen.» Pretty simple, right? Fake! A select statement returns no data that uses a function 'en' is an exception... "no data found". Oracle, it sends to the exception block as it should. Well, I don't want to stop and start my script a million times here, I added a Begin/End sub, with an exception to handle the error to say and perform an insert. I know that you should not use a State of exception for inserts another capture errors... you know bad practices and all. Any ideas as how to better manage the select statement that must regularly return no data? I was thinking some along the line of nvl (v_pidm, 0) or something, but I get errors.
    set serveroutput ON SIZE 1000000
    set heading off                
    set feedback off                
    set trimspool off               
    set echo off                    
    set pagesize 0  
    set termout on
    
    
    Declare
    error     varchar(255); 
    v_pidm    number(8); 
    
     Begin
        Begin    
            select distinct saraatt_pidm  
    
            into
    
            v_pidm
    
            from saraatt, saradap
            where saraatt_appl_no = SARADAP_APPL_NO
            and saraatt_term_code = SARADAP_TERM_CODE_ENTRY
            and saraatt_pidm = 4;
            
          Exception
             when too_many_rows then
            error := SQLERRM;        
            DBMS_OUTPUT.PUT_LINE(' %% Oracle Error! %% The select statement returned more than two rows ');
               
            when no_data_found then
            error := SQLERRM;        
            DBMS_OUTPUT.PUT_LINE('Select Returned No Data . . . Therefore Insert new record for ' || v_pidm );
            
            v_pidm := -999;
    
            when others then
            error := SQLERRM;        
            DBMS_OUTPUT.PUT_LINE(' %% Oracle Error! %% An Error Occured ' || substr(error,5,20));    
        End;
        
        
        
     DBMS_OUTPUT.PUT_LINE('Pidm: ' || v_pidm);
    
     End;

    There is nothing inherently wrong with code like

    BEGIN
      SELECT column_name
        INTO l_variable_name
        FROM table_name
       WHERE some_where_clause;
    EXCEPTION
      WHEN no_data_found
      THEN
        l_variable_name := 0;
    END;
    

    It is perfectly reasonable to have exception handlers that make anything other than newspaper an exception if they can in fact wisely handle the exception (e.g., you know that the query may return 0 rows and you know how to handle this case correctly).

    You don't want an exception handler that simply calls to DBMS_OUTPUT. Put_line without re-raise the exception. It is a mistake to delay. And there is no real reason in this case to extract the SQLERRM in the variable error - it would be better to let the exception is propagated to the top so that you can see the full error stack.

    Justin

  • How to manage the plsql error occurring in the exception block

    We know how to manage exceptins located in the BEGIN block.
    But I am unable to catch the exception in the exception block. Write an erroeneous code so that the control will go to the exception block and there is also a plsql error, but I am unable to handle that error, it returns the error to the calling environment.

    DECLARE
    CNT NUMBER (5): = 0;

    BEGIN

    Select "Chris" IN double's NTC;
    DBMS_OUTPUT. Put_line (to_char (CNT));

    EXCEPTION
    WHEN invalid_number CAN
    DBMS_OUTPUT. Put_line (' error occurred inside the start block ');

    CNT: = "deba";

    WHILE OTHERS THEN
    DBMS_OUTPUT. Put_line (' error occurred inside the start block ');

    END;

    Please suggest me how to catch this exception?

    Hello

    DECLARE
    CNT NUMBER (5): = 0;

    BEGIN

    Select "Chris" IN double's NTC;
    DBMS_OUTPUT. Put_line (to_char (CNT));

    EXCEPTION
    WHEN invalid_number CAN
    DBMS_OUTPUT. Put_line (' error occurred inside the start block ');

    CNT: = "deba";

    WHILE OTHERS THEN
    DBMS_OUTPUT. Put_line (' error occurred inside the start block ');

    END;

    First of all your exception mouhamadou who you have sent i.e. invalid_number itself does not.
    You should use named exception VALUE_ERROR to catch the exception in the main block.

    SQL> DECLARE
      2  cnt NUMBER(5):=0;
      3  BEGIN
      4  select 'debalina' INTO cnt from dual;
      5  DBMS_OUTPUT.PUT_LINE(to_char(cnt));
      6  EXCEPTION
      7  WHEN Invalid_number THEN
      8  DBMS_OUTPUT.PUT_LINE('error has occured inside main block');
      9  end;
     10  /
    DECLARE
    *
    ERROR at line 1:
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    ORA-06512: at line 4
    
    SQL>  DECLARE
      2   cnt NUMBER(5):=0;
      3  BEGIN
      4  select 'debalina' INTO cnt from dual;
      5  DBMS_OUTPUT.PUT_LINE(to_char(cnt));
      6  EXCEPTION
      7  WHEN VALUE_ERROR THEN
      8  DBMS_OUTPUT.PUT_LINE('error has occured inside main block');
      9  end;
     10  /
    error has occured inside main block
    
    PL/SQL procedure successfully completed.
    

    Your doubts regarding catch the exception in the exception block, you can run as below, by nesting a block Begin in the exception block itself.

    SQL> DECLARE
      2  cnt NUMBER(35):=0;
      3  BEGIN
      4  select 'debalina' INTO cnt from dual;
      5  DBMS_OUTPUT.PUT_LINE(to_char(cnt));
      6  EXCEPTION
      7  WHEN Value_error THEN
      8  DBMS_OUTPUT.PUT_LINE('error has occured inside main block');
      9  Begin
     10  cnt:='deba';
     11  Exception
     12  WHEN OTHERS THEN
     13  DBMS_OUTPUT.PUT_LINE('error has occured inside exception block');
     14  End;
     15  END;
     16  /
    error has occured inside main block
    error has occured inside exception block
    
    PL/SQL procedure successfully completed.
    

    Hope your question is clear.
    :)
    Twinkle

  • The exception of collection management in bulk

    Hello guys,.

    Please help me with a code to retrieve the data from the table with the wrong data type...

    I have a table with data

    Col1 (VARCHAR2 (10))

    --------------------

    1001

    1002

    1003

    1004

    1006

    1007

    A

    1009

    1010

    I need to write a PL/SQL code to bulk collect the data in the table above in a variable (number v_num) except that "a." Please let me know how to handle the exception invalid number in this case. I use oracle 10G

    But I need to know how to handle the exception in Collect(while collecting the data, there is an error) in bulk

    Hmm, good to know how it works, you can try to SAVE the exceptions (as below). But remember what said Paul Horth and keep in mind. That is why I didn't post earlier.

    -Create a table to store

    SQL > create table tab_num (col1 NUMBER);

    DECLARE

    type tt is the table of a % rowtype;

    v_num tt;

    v_errnum NUMBER;

    CURSOR c1

    IS

    SELECT col1 from a;

    BEGIN

    OPEN c1;

    LOOP

    FETCH c1 COLLECT LOOSE v_num LIMIT 1;  -The limit that you can modify according to the requirement

    -DBMS_OUTPUT. Put_line('v_num. COMTE-'|| v_num. COUNT);

    WHEN v_num EXIT. COUNT = 0;

    FORALL idx IN 1.v_num. COUNT SAVE EXCEPTIONS

    INSERT INTO tab_num VALUES v_num (idx);

    COMMIT;

    END LOOP;

    CLOSE c1;

    EXCEPTION

    WHILE OTHERS THEN

    DBMS_OUTPUT. Put_line ('Others - Err' |) SQLERRM);

    v_errnum: = SQL % BULK_EXCEPTIONS. COUNTY;

    BECAUSE me IN 1.v_errnum

    LOOP

    DBMS_OUTPUT. Put_line ('Err' |) SQL % BULK_EXCEPTIONS (i) .error_index | "Message - ' | SQLERRM (0 - SQL %BULK_EXCEPTIONS(i).error_code));)

    END LOOP;

    END;

  • Continue the block after the exception management

    The guys in the slot block.

    create or replace procedure proc_case
    (p_in IN number)
    is
    begin
    case p_in
    when 1 then
    dbms_output.put_line('its one'); 
    when 2 then
    dbms_output.put_line('its two'); 
    end case;
    dbms_output.put_line('after the exception handler'); 
    exception when case_not_found then
    dbms_output.put_line('its not found'); 
    end;
    

    When the procedure is executed as follows.

    begin
    proc_case(3);
    end;
    

    It shows the statement in the block of exception, but after that it does not run the statement following the exception handler and the outputs of the block, how can I execute the statement after the end case statement. I do not use the Else statement in case because I wanted to understand the logic of this block.

    CREATE OR REPLACE

    PROCEDURE proc_case

    (

    p_in in NUMBER)

    IS

    BEGIN

    BEGIN

    P_in CASE

    WHEN 1 THEN

    dbms_output.put_line ('the one');

    WHEN 2 THEN

    dbms_output.put_line ('two');

    END CASE;

    EXCEPTION

    WHEN case_not_found THEN

    dbms_output.put_line ("' its not found");

    END;

    dbms_output.put_line ("' after the exception handler");

    END;

  • The exception of procedure management


    Hello guys,.

    I have a code below:

    BEGIN

    -Appeal procedure B;

    END;

    B() PROC

    AS

    USER_DEF EXCEPTION;

    BEGIN

    IF < SOME_CONDITION > THEN

    RAISE USER_DEF;

    END IF;

    END;

    I want to throw an exception of PROCEDURE B and want to handle in the calling PL/SQL block.

    IS THIS POSSIBLE?

    Can anyone guide me on this please?

    Thank you

    Rajendra

    Hello

    given that the exception is defined in B the calling procedure may not see it.

    You can create a package with your exceptions, then B would raise errorpackage.user_def and the calling procedure can check WHEN errorpackage.user_def.

    Concerning

    Marcus

    Edit:

    Example of

    CREATE or REPLACE PACKAGE my_errors

    AS

    e_user_defined EXCEPTION;

    c_user_defined CONSTANT INTEGER: =-20500;

    PRAGMA EXCEPTION_INIT (e_user_defined,-20500);

    ...

    Now, you can

    RAISE my_errors.e_user_defined;

    and search for

    WHEN my_errors.e_user_defined THEN

    And your exception will be associated with SQLCODE-20500

    See also 101 PL/SQL: exception handling

  • Delete the exception management

    Hi guys,.
    I have a problem in my procedure. There are 3 parameters that I'm passing in the procedure. I am corresponding to these parameters to those of the table to delete one record at a time.
    For example if I want to delete the record with the values (' '900682', 3, July 29, 2008 ') as parameters, it deletes the record of table, but still when I run it with the same parameters must show me an error message but it again says "deleted the request for transcript...". "Can you please help me with this?

    PROCEDURE p_delete_szptpsr_1 (p_shttran_id IN saturn.shttran.shttran_id%TYPE,
    p_shttran_seq_no IN saturn.shttran.shttran_seq_no%TYPE,
    p_shttran_request_date IN saturn.shttran.shttran_request_date%TYPE) IS

    BEGIN

    DELETE FROM saturn.shttran
    WHERE shttran.shttran_id = p_shttran_id
    and shttran.shttran_seq_no = p_shttran_seq_no
    and trunc (shttran_request_date) = trunc (p_shttran_request_date);
    DBMS_OUTPUT. Put_line (' removed the transcript request Seq No. (' | p_shttran_seq_no | student (' | p_shttran_id |') for the requested date (' | p_shttran_request_date |'))) ') ;
    COMMIT;

    EXCEPTION WHEN NO_DATA_FOUND THEN
    DBMS_OUTPUT. Put_line (' error: the Notre Dame provided = student ID (' | p_shttran_id |))
    ('), Transcript No Request = (' | p_shttran_seq_no |) ('), Ask Date = (' | p_shttran_request_date | not found.');

    END p_delete_szptpsr_1;


    I have a SELECT statement to use NO_DATA_FOUND?

    A DELETE statement that will remove any line (such as an UPDATE statement that updates no line) is not an Oracle error. Oracle throws no exceptions.

    If you want your code throws an exception, you will need to write this logic. You can throw an exception NO_DATA_FOUND yourself, i.e.

    IF( SQL%ROWCOUNT = 0 )
    THEN
      RAISE no_data_found;
    END IF;
    

    If you go just to catch the exception, however, you could just some embedded code you would use to handle the exception in your IF statement, i.e.

    IF( SQL%ROWCOUNT = 0 )
    THEN
      <>
    END IF;
    

    In your original code, your exception handler is just a statement of DBMS_OUTPUT. It is incredibly dangerous in real production code. You rely on the fact that the customer has allowed him to exit, that the customer has allocated a sufficient buffer, the user will see the message, and that the procedure will never be called to any piece of code that never worry if it succeeded or failed. There are very few situations where those who are sure of things to build on.

    Justin

  • the exception in the procedure call management

    Hello

    I have a package where currently make phone calls to private public process procedures.

    and the senario is: -.

    create package body p_tst
    is

    ex_failed exception;

    -It's private proc
    procedure p_private
    is
    Start
    .
    .
    raise ex_failed;
    exception
    When ex_failed
    then
    lift;
    .........
    end p_private;

    procedure p_public
    is
    Start
    ....
    -nomaking appeal to the private sector
    -procedure
    p_private;

    -Here, I need to catch
    -the exception thrown
    -past of callee
    -procedure
    When ex_failed
    ...
    end p_public;

    end;

    Basically, I want to catch any exception of procedure called passed to the procedure call and raise the same exception by calling procedure.

    is it possible to intercept the exception even in the calling procedure?

    Yes, p_private throws the exception, it will be taken by p_public and the program stops after dbms_output.

  • How to decipher the exception of certificate information

    I use Firefox 8 on Windows 7 Professional 64-bit.

    I was watching qriocity.com and received a notification that the identification information does not match (something to that effect). I chose the option to add an exception, thinking that I can easily find and delete the exception. After a lot of Googling, I found that the safe way to do this is got to tools-> Options-> advanced-> ViewCertificates encryption. The only tabs that are not empty are the servers and authorities tabs. On the servers tab, I found an entry under "Comodo CA limited" which looked related on qriocity website:

      Certificate Name: *.support.sonyentertainmentnetwork.com
      Server: qriocity-en-us.custhelp.com:443
    

    Without any other information, I decided to delete this entry. However, I'm wondering if these are in fact the certificate * exceptions * I look at. Thus, knowing * when * the exception has been added to eliminate any doubt that this is the exception, I added earlier. Is there a way to show the date added? Such a field does not seem to exist when I click on "show...". ».

    On a separate but related topic, I've also was looking for something relevant in the References tab. Are these all the powers that I have added, perhaps implicitly and unknowningly? Is it possible (and wise) to reduce this list to what it would be for a Virgin installation of Firefox?

    The entries you see in the Server tab are a permanent exceptions that you have accepted and those that are stored in the cert_override.txt file in the profile folder.

    Entered on the tabs authorities are build-in root certificates or intermediate certificates that Firefox automatically records.

    • Build-in root certificates show like "Builtin symbolic object" on the References tab, in the Certificate Manager.
    • Intermediate certificates stored show as "software security device.
  • the exception unknown software exception (0 x 0000409) occurred in the application at location 0x0100bece.

    I have the message "the exception unknown software exception (0 x 0000409) occurred in the application at location 0x0100bece." shown often on my windows. May I know what is the cause and how to fix?

    Hello

    You have made any changes to your computer recently?

    I suggest you to follow the steps and check if it helps.

    Method 1:

    Step 1: Start the computer in safe mode and check if it helps.

    A description of the options to start in Windows XP Mode

    Step 2: PEd a clean boot and then check to see if it helps.

    How to configure Windows XP to start in a "clean boot" State

    Note: Make sure you perform the steps in How to configure Windows to use a Normal startup state to start your computer normally.

    Method 2: Run check file system (CFS) analyses and checks to see if it helps.

    Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe)

    I hope this helps.

  • Get on the message while turning computer: "the exception unknown software exception (0xc0000006) occurred in the application at location 0x00fdd945. Click on OK to terminate the program. »

    Original title: how to remove 'exception unknown software exception (0xc0000006) "?

    A week ago I received a security alert Windows telling me that my Webroot SecureAnywhere has been disabled and I should turn it back on. When I try to turn back on I received an error message stating: "the exception unknown software exception (0xc0000006) occurred in the application at location 0x00fdd945. Click on OK to terminate the program. »

    When I start my computer, I get a number of error messages saying essentially the same thing. Unfortunately, I can't open Webroot SecureAnywhere, so I can't uninstall it.

    I used Webroot online support to try to uninstall, but without being able to open SecureAnywhere, they were unable to help him.

    I ran Malwarebytes Anti-Malware twice, including an in-depth analysis, but it found no infection. I ran Safety Scanner from Microsoft and he was unable to find anything.

    I run Microsoft Vista Home.

    Any ideas?

    It is they who must find a solution for you.

    Good luck with it.

    See you soon.

  • VCM Intelligent Analysis Manager

    I just started using a new portable VAIO E Series and copied all the files from my old laptop at the weekend. No problem with the file download and happy with the new laptop until I had a look at VAIO Media Gallery yesterday. Since then, the laptop has land to stop with the processor and the disk of the overtime work. VCM Intelligent Analysis Manager (VIAM) through each photo and video I (> 10 000) and create a new folder for each group with several files in each folder, it takes forever because he seems to be trawling through the pictures several times. Records being created (filename) sont.m2ts.files or (filename). MPG.files or (filename). AVI.files. I suspended VIAM but if I restart the laptop the process begins again.

    I checked on VAIO Media Gallery on the internet, comments are not good and there seems to be no real advantage to using it. So, in an attempt to stop VIAM, I removed Media Gallery but VIAM continues to go immediately.

    The question is how can I stop VIAM done what he done? Why is it trawling through all my photos? Is it interesting to just let it run, which will probably be a few days?

    I posted this question on a forum of Sony about 4 hours ago, but no response so far, it's because it's too hard for them?

    Help, please!

    Thank you

    Hello

     

    As you have a lot of pictures, it will take longer to scan all to create individual folders.

    You can perform the clean boot to stop the (VCM Intelligent Analysis Manager) application to start automatically.

    Check this link to perform the clean boot: How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135

    Note: After you check the clean boot feature configure Windows to use a Normal startup using step 7 proposed in the above mentioned link.

    As you have posted your question on the Sony forum, let us wait their suggestion about VCM Intelligent Analysis Manager.

    I hope this helps!

  • Rebecca.exe - Application error the exception unknown software exception (Oxe0434352) occurred in the application at location Ox46ca5bf8

    Rebecca.exe - Application error the exception unknown software exception (Oxe0434352) occurred in the application at location Ox46ca5bf8

    You have any suggestions on how to fix or repair the previous message? I have a HP Pavilion e037cl-15 Notebook PC. HP recovery all does not work. The program crashes.  I am unable to run the system, the system recovery restore.

    Hi Carol,.

    The application that this question is HP Recovery Manager from HP. I suggest you try to uninstall and reinstall the recovery program HP Manager and check if it works for you.

    Refer to the following article from HP to remove HP Recovery Manager.

    http://h10025.www1.HP.com/ewfrf/wc/document?cc=us&LC=en&DLC=en&docName=c00810298

    See the following article from the HP to install HP Recovery Manager.

    http://h10025.www1.HP.com/ewfrf/wc/softwareDownloadIndex?cc=us&LC=en&DLC=en&softwareitem=ob-67257-1

    If the problem persists, then it would be better to post the same question in the HP Support forum for more help on this issue.

    http://WWW8.HP.com/us/en/supportforums.html

    Please do not hesitate to visit our Web site for any help with the Windows operating system.

  • Help with the exception of Pl/SQL 'ora-3150 end of file on the communication channel.

    Hello.

    The code attached to this post opens a slider that load of 99 dblinks from different remote databases of different version.

    He captures the information from these databases and stores them locally on a central database (11.2.0.4.0 version) on different tables.

    The problem I have is that when a database is deleted, the dblink to this database show me the error 'ora-3150 end of file on communication channel' and that's right.

    But he's not going trough the exception that I created, the cursor is closed and does not continue with the cycle.

    The exception I created insert data on DBMONITOR error. DBMONITOR_LOG_ERROR_TABLE in order to catch the error (you'll be able to see all the code on the attachment)

    It's the exception:

    exception

    while others then

    INSERT IN DBMONITOR. DBMONITOR_LOG_ERROR_TABLE (NOMBRE_DBLINK, message, info, FECHA_ERROR, TIPO_PROCEDURE) VALUES (var, SUBSTR (DBMS_UTILITY. (FORMAT_ERROR_STACK, 1, 200), "CONNECTION ERROR", SYSDATE, 'CAPACITY');

    commit;

    end;

    Could help me please on how could intercept this exception?

    Thank you.

    Juan.

    You might have a problem with your connection or mishandling. The end of the file ora-3150, on channel of communication error means that there is a connection, but this link was broken somehow.

    If a database is not reachable, you should get other types of errors.

    For example judgment of the Kingdom or tns - memory could not resolve alias or simliar things.

    Here is a list of typical mistakes I have check and manage when accessing remote databases.

      e_db_link_broken EXCEPTION;  --ORA-02019 connection description for remote database not found
      PRAGMA EXCEPTION_INIT (e_db_link_broken, -02019);
      e_oracle_not_available EXCEPTION;  --ORA-01034 ORACLE not available
      PRAGMA EXCEPTION_INIT (e_oracle_not_available, -01034);
      e_oracle_down EXCEPTION;  --ORA-27101: shared memory realm does not exist
      PRAGMA EXCEPTION_INIT (e_oracle_down, -27101);
      e_no_listener EXCEPTION;  --ORA-12541: TNS:no listener
      PRAGMA EXCEPTION_INIT (e_no_listener, -12541);
      e_no_service EXCEPTION;  --ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
      PRAGMA EXCEPTION_INIT (e_no_service, -12514);
      e_timeout EXCEPTION;  --ORA-12170: TNS:Connect timeout occurred
      PRAGMA EXCEPTION_INIT (e_timeout, -12170);
    

    If you have a long open session and fail to close the db links after recovered information from the remote site?

    In addition, I propose to change your dynamic insertion in a normal insert.

    First extract the data of the DB link dynamically, but just with a select statement. Then do the insertion with the result data.

    Improve your logging table to store messages up to 4000 char CHARACTER. 200 is really small for error messages.

    In addition to the DBMS_UTILITY. FORMAT_ERROR_STACK you must also connect DBMS_UTILITY. FORMAT_ERROR_BACKTRACE. Just to see if you get a better message there.

    WHEN e_db_link_broken or e_oracle_not_available or e_oracle_down or e_no_listener or e_no_service or e_timeout THEN
       INSERT INTO DBMONITOR.DBMONITOR_LOG_ERROR_TABLE (NOMBRE_DBLINK, message, info,FECHA_ERROR,TIPO_PROCEDURE) VALUES(var, 'Remote DB not accessible','ERROR DE CONEXION',SYSDATE,'CAPACITY');
                   -- commit;
    WHEN OTHERS THEN
    
                    INSERT INTO DBMONITOR.DBMONITOR_LOG_ERROR_TABLE (NOMBRE_DBLINK, message, info,FECHA_ERROR,TIPO_PROCEDURE) VALUES(var, SUBSTR(DBMS_UTILITY.FORMAT_ERROR_STACK||DBMS_UTILITY.FORMAT_ERROR_BACKTRACE, 1, 4000),'ERROR DE CONEXION',SYSDATE,'CAPACITY');
                    --commit;
                    end;
    
  • The exception question

    Hi all

    I wrote a simple exception in the procedure.
    I say if this procedure worked for a very long time and I decided to kill the process, the exception will manage these unexpected process
    for example, coding,.

    Begin
    .
    .
    EXCEPTION when others then
    dbms_out.put_line ('unexpected end');
    end;

    TJ_Tay wrote:
    Hi all

    I wrote a simple exception in the procedure.
    I say if this procedure worked for a very long time and I decided to kill the process, the exception will manage these unexpected process
    for example, coding,.

    Begin
    .
    .
    EXCEPTION when others then
    dbms_out.put_line ('unexpected end');
    end;

    I guess you mean kill the session when you say that you kill it... in which case, NO, the exception handler does capture because the session has ended.
    In addition, an exception WHEN OTHERS is not a good idea because it often masks the exceptions that you were not pregnant.

    You're just write exception handlers for things that you expect to arrive.

Maybe you are looking for