Printing Raise_application_error only for the first one..

Hi, for each procedure i have a raise_application_error.. But after the first one, each one of the calling procedures print their applicaion error as well. How can I set this up so that only the raise_application_error from the function that's the exception is being raised from?
Edited by: tolgaek on Jan 17, 2011 10:44 AM

wonderboy87 wrote:
Well actually, i'm printing the stack using DBMS_UTILITY.format_error_backtrace appended to my message using raise_application_error,Wrong.
Therefore I don't need the other calling functions to print theirs,sometimes the stack is so deep that, error message gets cut off where you can't see the most important one.. I just want to make it so that only the first raise_application_error gets printed, which has enough information to debug..Wrong.
You are mistaken in thinking that turning the error stack into an error text string is valid. A text string is unstructured data. An error stack is structured.
And despite the fact that you can turn the error stack into a text error message, does not mean that the error stack no longer exists and no longer will be processed (and possibly displayed/printed) by the client that made the call.
There's also a reason for having an error stack and having a separate error message. The former is for code, debuggers and developers to make sense of - this explains the exact status of the call stack at the time of the error. The latter is the nice-human-readable-message that is for end-users and managers and the like. This explains (or should) the business/logical reason of the error.
It makes no sense to whack the error stack as text into the error message. What for? How does this make the exception any better to process or understand?

Similar Messages

  • Applications are mentioned free, but when we start downloading one dollar is charged in my credit card, but only for the first time when i switch on and use it for the first time one dollar is charged. and from next application it is free. why?

    Applications are mentioned free, but when we start downloading one dollar is charged in my credit card, but only for the first time when i switch on and use it for the first time one dollar is charged. and from next application it is free. why?

    Kindly inform any email id or toll free number to contact apple for your below answer, Mr.King_Penguin
    About receiving my credit card being debited for Free App Store Application downloads,
    It should be within a few days, but it might vary a bit by bank/provider :
    I am in India, if the bank don't refunds , what to do?
    Rajagopal.pngr :-  It is only a holding charge, it is not a permanent charge. If it isn't refunded within a few days or so (and it quite possibly won't be over a weekend) then you can query the charge with Apple.

  • Is there a way to create a fade only for the first loop?

    I have a loop (Modern Guitar Rock 04), which I've extended out so it repeats four times. I select the Fade Tool and X-Fade for drag. I then drag just in front of the loop and onto it, which creates a fade. However, this also creates fades at the beginning of the repeating loops. Is there a way to create a fade only for the first loop?

    The loop function always repeats the same region so of course the fade is also copied. So option+drag the original region to make a (non clone) copy, fade the first region and loop the second one (which you just copied).

  • How do you suppress page numbers. I am trying to print a screenplay for the first time since switching to Pages and I can't suppress Page

    How do you suppress page numbers. I am trying to print a screenplay for the first time since switching to Pages and I can't suppress Page #1 without making the rest of the pages inaccurate, as page #1 is the Title Page. Does anyone have any suggestions?

    When you signed to be able to post in the forums, you were urged to read and accept the Terms of Use ruling these forums.
    They claim :
    The contents of the "More Like This" box prove that applying the rules you would have get the wanted explanations without creating this new thread.
    Yvan KOENIG (VALLAURIS, France) mardi 26 avril 2011 10:04:03

  • Master Page: Alternatives (Subform Set) works only for the first page

    Hi everybody!
    I have bumped into a very weird problem with ADOBE Forms:
    When I create an 'Alternative' in a Context area and then place it on a Master Page, it works only for the first page. On the rest of pages it always show the 'TRUE' subform, regardless of the condition (which is not changed, of course). Absolutely the same Alternative works perfectly in a Content area for all pages.
    Has anybody seen something like this? Any ideas why?
    Thank you!

    This happens because of the processing of the form.
    You can see this here:
    LiveCycle ES2 * Adobe LiveCycle Designer ES2
    You have to put a own variable, which is set with the value you want in the very beginning.
    I know, it is not that logical in the first moment, but it makes sense.
    Regards
    Florian
    PS: This space SAP Interactive Forms by Adobe is the correct for questions like that

  • I want to give sales discounts only for the first five sales order

    The scenario is that I have to limit the sales discount to first five sales order that is executed, from the 6th the system should not allow any sales discounts

    Hi,
    If I understand your requirement correclty you want to pass discount for a particular item for a customer only for the first five sales orders irrespective of the quantity you sell on this order. As I understand this way of limiting discount by way of the count of sales orders is not possible.
    What is though possible is to limit the discount per customer or per article or per customer and article combination to either a certain fixed value of discount or limit the discount to certain fixed quantity sold for that article.
    The config required is
    Condition type  : Scale basis -Either value scale or quantity scale. Scale type -leave this blank.
    Condition record  :Chose the scale type as "B- To Scale" and at the time of condition record creation you can define your own Calculation type -either fixed amount,percentage,quantity etc.
    All the best.
    Kartik Shah

  • I have 3 consecutive movie clips that I am trying to drop into the drop zone but it only recognizes the first one and only produces the firts one in a DVD. How can I drop all three  movie clips into one drop zone

    On IDVD, I have 3 consecutive movie clips that I am trying to drop into the drop zone to create a DVD but it only recognizes the first one I dropped and only produced the first one in a DVD. How can I drop all three  movie clips into one drop zone.

    I have had some luck doing the following: Export each clip from imovie as a quicktime clip. Open iDVD and create a new project. Import a few stills into iDVD and then click on the button that gets created to get into the screen where the individual slides appear. Drag each quicktime into that screen and arrange in the order you want. You can then delete the stills. The button that appeared when you dropped in the stills will launch a complete show.

  • Hey my little sister pressed something on my ipod and ever since some o f my songs are playing only for the first few seconds how do i solve this problem

    hey my little sister pressed something on my ipod and ever since some o f my songs are playing only for the first few seconds how do i solve this problem

    BaconBits is right to ask if the files are protected or not.
    DRM files can only be transferred using Windows Media Player, Creative MediaSource or Nano Media Explorer so that the licenses are transferred. Do not try drag'n'drop with Windows Explorer on porotected files. This is explained in the Help file manual on your CD.
    Also do not use Audible Manager to transfer music files.
    PB

  • CC for students is 14.99 a month or prepaid 180 for a year but only for the first year. Does anyone know how much more it is on the second year

    CC for students is 14.99 a month or prepaid 180 for a year but only for the first year. Does anyone know how much more it is on the second year

    Hello,
    please pass through these libks:
    https://creative.adobe.com/plans?plan=edu >>> Promotional pricing for first year. See terms >>> http://www.adobe.com/offer-terms/edu_puf_promo.edu.html >>> After the first year we will renew your contract automatically for another year at the then-current standard annual price (currently at $359.88), unless you cancel.
    Hans-Günter

  • TS1389 I bought an album and all the songs play except for the first one.  It keeps telling me to authorize my computer to play this song.  None of the above helped me.  Is there any other solution?

    I bought an album and all the songs play except for the first one.  It keeps telling me to authorize my computer to play this song.  None of the above helped me.  Is there any other solution?

    petrou74 wrote:
    ...  None of the above helped me.  Is there any other solution?
    If you live in a Region that allows re-downloading Music...
    Delete the Song(s) and re-download...
    See Here  >  Download Past Purchases
    http://support.apple.com/kb/HT2519
    If not... Contact iTunes Customer Service
    Apple  Support  iTunes Store  Contact Us

  • Adobe form is printing wrong data for the first print attempt

    Hi All,
    I need a quick help from Adobe print form gurus. Until now i dint get an issue on printing adobe interactive form from my portal. For eg., when i am giving a print for the first attempt, it was printing the form with wrong data in form fields and whereas when i tried to print it for the second time, then it is printing properly with right information.
    Please help.
    Regards,
    Praveen Kambala.

    Hi Praveen,
    Find out the data what is being printed for the first time, and check what is the flag that is making the change.  Hope that should resolve your issue.
    Thanks,
    Rakesh.

  • "Send these cards..." only sends the first one

    I'm trying to send several cards at a time to a bluetooth mobile phone. In Address Book I use Cards, Send these cards... after I've highlighted, say, three cards in the address books. It only sends the first of the cards.

    Hi,
    As per the Ref thread i can manage the step 1 and 2  in the Note 329537, can any one help me in step 3.... what exactly i need to do in SE37. do i need to save the changes after calling the function module ?
    Regards,
    S.Manu

  • Where is page setup??  Dumb Question.... Trying to print from PSCC for the first time.  Where is page setup??

    Dumb Question.... Trying to print from PS CC for the first time.  Where is page setup??
    (PS CC on Mac 10.10...  printing on Epson 3880)
    THANK YOU!!!  (:

    I use Windows but i think Photoshop would be the same.  File > Print.  Once opened look for Print settings

  • SQLLDR -- WHEN works only for the first INTO table

    I tries to load 2 table from one data file.
    SQLloader loads only the first table in the control file.
    If I switch the INTO sequence it then load the other table that now its the first in the control file.
    It works fine if I split the control into 2 controls that loads the table from
    the same data file.
    Is this a bug or am I forces to load it as two parts?
    -------------------------- control file ----------------------
    LOAD DATA
    INFILE 'test.xml' "STR '\n<ENDREC/>\n'"
    INTO TABLE MSDESTINATIONXML
    APPEND
    WHEN typeid = "D"
    FIELDS TERMINATED BY '^'
         typeid          FILLER char(1),
         ID          char(255),
         letterid      char(255),
         left           char(2000) TERMINATED BY '\n<ENDROW/>\n')
    INTO TABLE MSLETTERXML
    APPEND
    WHEN typeid <> "D"
    FIELDS TERMINATED BY '^'
         typeid          FILLER char(1),
         ID          char(255),
         bundleid      char(255),
         left           char(4000) TERMINATED BY '\n<ENDROW/>\n',
         right           char(4000) TERMINATED BY '\n<ENDROW/>\n')
    ---------------------------- end control file ----------------------------------

    This happens because of the processing of the form.
    You can see this here:
    LiveCycle ES2 * Adobe LiveCycle Designer ES2
    You have to put a own variable, which is set with the value you want in the very beginning.
    I know, it is not that logical in the first moment, but it makes sense.
    Regards
    Florian
    PS: This space SAP Interactive Forms by Adobe is the correct for questions like that

  • JLabel with HTML visible only for the first time

    I've implemented a really simple applet:
    public class TestApplet extends JApplet {
      @Override
      public void init() {
        try {
          SwingUtilities.invokeAndWait(new Runnable() {
            public void run() {
              JPanel topPanel = new JPanel();
              topPanel.setLayout(new BorderLayout());
              getContentPane().add(topPanel);
              JLabel labelHello = new JLabel("<html>Hello World!</html>");
              topPanel.add(labelHello, BorderLayout.NORTH);
              JLabel labelHelloNoHTML = new JLabel("Hello World - without html!");
              topPanel.add(labelHelloNoHTML, BorderLayout.SOUTH);
        } catch (Exception e) {
          System.err.println("Couldn't initialize GUI");
    }And there are two html pages, both having the same applet and a link referring to each other:
    index.html
    <html>
           <head><title>Applet</title></head>
           <body>
                  <div><a href="link.html">Link</a></div>
                  <div>
                        <applet hspace="0" height="375" align="left" width="600" vspace="0" mayscript="" alt="GetJava" codebase="./"
                        code="com.test.TestApplet" name="TestApplet"></applet>         
                  </div>
           </body>
    </html>link.html
    <html>
           <head><title>Applet</title></head>
           <body>
                  <div><a href="index.html">Link</a></div>
                  <div>
                        <applet hspace="0" height="375" align="left" width="600" vspace="0" mayscript="" alt="GetJava" codebase="./"
                        code="com.test.TestApplet" name="TestApplet"></applet>         
                  </div>
           </body>
    </html>Now when I navigate to index.html the applet shows correctly both labels but in case I jump to link.html the applet shows only the second label i.e. Hello World - without html! . This seems to be specific to Java version 1.6.0_21 and 1.6.0_22, it was working properly in 1.6.0_17. Is anyone else experiencing similar issue or am I missing something?
    Edited by: user13135196 on Nov 25, 2010 4:33 AM
    Edited by: Slavek Tecl on 25.11.2010 13:12

    I am having this exact same issue. I have a JLabel with <html> for superscript in my JApplet. The first time I run my applet it displays fine. All subsequent times (refresh the page, or close the tab then open again) the JLabel with <html> doesn't show. This issue does NOT occur in the Eclipse Applet Viewer, but does occur with Google Chrome9 and IE8.
    I spent forever checking my methods and changing things trying to figure out why all the other labels show. Never would have guessed <html> in a JLabel would make it not display. This is terrible bug. Please fix ASAP.

Maybe you are looking for

  • Raw material issue for inspection from inspection lot

    Hello friends, My sample size is fixed i.e.75 gm for all  raw material quality testing. I have defined sampling procedure with sampling type "fixed sample". I want that this amount should be decreased from total lot quantity when i am posting it to u

  • HT4527 Getting error code 12004 when trying to setup home share on a new laptop.  Can't find what it means.

    My daughter received a new macbook pro for Christmas and is trying to turn on home sharing in itunes and it is giving her an error code 12004 but we cannot find what that means.  Does anyone know where to find error codes and their definitions?

  • BW load - support Spanish characters

    Hi, Our ECC system supports English and Spanish languages. We have a situation when Mexican vendor (created in English on ECC)  has Spanish character   ó    in the field name (LFA1-NAME1). This record failed on BW side saying u201CVersion 'RADIOMÓVIL

  • Error in crystal reports

    Hi All, When I run the report I am getting following error.How to fix please suggest cannot determine the queries necessary to get data for this report

  • Iphone G2 cancel factory reset.

    I did a factory reset, but am now stuck with the usb Icon and Itunes icon. I can't connect to itunes as my phone is locked. How can i restore my Iphone to the previous Iphone that is not in reset mode? I want to cancel reset mode.