How to capture the DB Errors to display more specific error on the screen

HI,
How to capture the DB Errors to display more specific error on the screen?
Can any one suggest on this please.
Thanks

hi,
in your db package or procedure write this in ur exception handler
as
excpetion when others
FND_MSG_PUB.ADD_EXEC_MSG (pkg_name, proc_name,
substr(sqlerrm, 1, 240))
now in your java code you can catch and throw this excpetion by using
OAExceptionHelper.checkErrors (Tx, messageCount, returnStatus, messageData);

Similar Messages

  • My iphone automatically locked and it does not open again,but if u call the sim that was inserted you will hear that it was active,so please help me how to open my iphone 4,no display appeared if you touch the switch button

    my iphone automatically locked and it does not open again,but if u call the sim that was inserted you will hear that it was active,so please help me how to open my iphone 4,no display appeared if you touch the switch button,

    Hello arlyn-cavite,
    If the screen is not showing anyting when you press any of the buttons you may want to try these steps.
    From article iPhone: Hardware troubleshooting http://support.apple.com/kb/ts2802
    Will not turn on, will not turn on unless connected to power, or unexpected power off
    Verify that the Sleep/Wake button functions. If it does not function, inspect it for signs of damage. If the button is damaged or is not functioning when pressed, seek service.
    Check if a Liquid Contact Indicator (LCI) is activated or there are signs of corrosion. Learn about LCIs and corrosion.
    Connect the iPhone to the iPhone's USB power adapter and let it charge for at least ten minutes.
    After at least 15 minutes, if:
    The home screen appears: The iPhone should be working. Update to the latest version of iOS if necessary. Continue charging it until it is completely charged and you see this battery icon in the upper-right corner of the screen . Then unplug the phone from power. If it immediately turns off, seek service.
    The low-battery image appears, even after the phone has charged for at least 20 minutes: See "iPhone displays the low-battery image and is unresponsive" symptom in this article.
    Something other than the Home screen or Low Battery image appears, continue with this article for further troubleshooting steps.
    If the iPhone did not turn on, reset it while connected to the iPhone USB power adapter.
    If the display turns on, go to step 4.
    If the display remains black, go to next step.
    Connect the iPhone to a computer and open iTunes. If iTunes recognizes the iPhone and indicates that it is in recovery mode, attempt to restore the iPhone. If the iPhone doesn't appear in iTunes or if you have difficulties in restoring the iPhone, see this article for further assistance.
    If restoring the iPhone resolved the issue, go to step 4. If restoring the iPhone did not solve the issue, seek service.
    Take care,
    Sterling

  • I would like the time to be displayed in large print on the notification screen. Does any one know how?

    I would like the time to be displayed in large print on the notification screen on iPhone 4s. Does any one know how?

    not 100% sure what you mean
    smileys are a sequence of chars like ;-¶ which the internet site or program like a chat program replace with an image typically a small gif image
    is your problem that you want to save those images to your harddisk?
    is your problem that you wish some other program then facebook to replace the smiley chars with the images that facebook use?
    is your problem that when you type on facebook your smileys are not replaced with the same images as others (in which case you should prob as which signs they type)

  • How to resolve error 'The DPMRA service terminated with service-specific error Only one usage of each socket address (protocol/network address/port) is normally permitted'

    One of my exchange 2010 servers dpm agent is give the following error when the dpmra service attempts to start.
    The DPMRA service terminated with service-specific error Only one usage of each socket address (protocol/network address/port) is normally permitted..
    I have tried uninstalling/reinstalling the agent but this does not resolve the issue
    Any help would be greatly appreciated.
    Thanks
    William Hickson

    Hi
    Something has probably changed on the protected server side that affects the DPM agent. In some cases the DCOM configuration could change. Look at this blogpost and verify your DPMRA DCOM object.
    http://robertanddpm.blogspot.com/2010/08/dpm-ra-rights.html
    If this doesn't do the trick try reinstall the agent.
    Best Regards
    Robert Hedblom
    MVP DPM
    Check out my DPM blog @ http://robertanddpm.blogspot.com

  • How do I get my TV to display what's on my computer screen (Not I-tunes)?

    How do I get my TV to display what's on my computer screen (Not I-tunes)?

    You have the display set in Extended Desktop mode. In System Preferences>Display on the MacBook screen there should be an Arrangement tab when you have the MacBook hooked up to the TV and both screens working. When you click the Arrangement tab do you see two monitors side by side? One of them will have a Menu Bar at the top. Just click on the Menu Bar and drag it to the second monitor. That will make the second monitor your main screen.
    You can now use your MacBook in Clamshell Mode with a wired or Bluetooth keyboard and mouse.   http://support.apple.com/kb/HT3131 When you disconnect from the TV your Menu Bar will automatically change back to the MacBook.
    Or if you want to work on the MacBook screen while showing it on a TV you can check the Mirror Display box on the lower left hand side of the Arrangement tab under the two monitors box.

  • Is there a way to filter a drop down list by using the result main data display from"GetUserProfileByName" when open the form.

    Hi 
    Is there a way to filter a drop down list by using the result main data display from"GetUserProfileByName" when open the form?
    The second source has a huge list of company names that can be narrrow by email work. 
    background:SP 2010 and Infopath 2010
    CRISTINA&amp MICROSOFT Forum

    I'm not sure if I understood your question clearly but here is a good resource on how to get attributes from "GetUserProfileByName" web services:
    http://blog.mangroveweb.com/pre-populating-an-infopath-from-with-mysql-data-using-a-net-web-service/using-sharepoints-getuserprofilebyname-web-service-to-retrieve-ad-account-information/
    Regarding filtering dropdown list then this could be done by applying form on-load rules. 
    Hope this helps

  • Just asking how to type Arabic letters in word, in more specific how to type letter or pargraph in Arabic language in word

    Just asking how to type Arabic letters in word, in more specific how to type letter or pargraph in Arabic language in microsoft winword.
    Thanks

    Regarding your screenshot of Word, I cannot duplicate it, I only get the expected disconnected Arabic.  I am sure that nobody will be able to duplicate it unless perhaps they have the font Arial Body CS, which is not part of MS Office for Mac or OS X.  So for your contribution here to be helpful to anyone, you will have to provide a link for downloading that font.

  • How to capture a .gif file from a spectrum analyzer and save the file in PC

    I want to capture a .gif file from a spectrum analyzer and save the file in PC, but I've got a problem when read data from the instrument. I'm not sure how to format the string got from the instrument , When I use "%s" or "%t" as the read string format the data got from the instrument is truncated.
    my code are as follows, could anyone tell me where i am wrong?
    char resultsArray[5000];
    viPrintf(hSpectrumInstr, ":MMEMTORCR 'CICTURE.GIF'\n");
     viQueryf(hSpectrumInstr, ":MMEMATA? 'CICTURE.GIF'\n", "%t", resultsArray);
     printf("%s", resultsArray);
     getchar();       
    Solved!
    Go to Solution.
    Attachments:
    readResult.docx ‏50 KB

    char resultsArray[5000];
    viPrintf(hSpectrumInstr, ":MMEMTORCR 'CICTURE.GIF'\n");
    viQueryf(hSpectrumInstr, ":MMEMATA? 'CICTURE.GIF'\n", "%b", resultsArray);

  • How do I get the Adobe toolbar to display above a pdf in the web browser?

    Hi guys,
    I'm just having trouble with locating the grey toolbar, it's not displaying when I open a .pdf in a web browser.
    I can open the .pdf fine, (within Safari), and usually (on my old computer) there was a grey toolbar above the .pdf & there's a print icon on it - that's what I'm looking for, so that I can print my lecture notes straight away.
    The toolbar won't display on the web browser above the .pdf, but if I save the .pdf & open it with Adobe Reader, then the toolbar displays there with all of the icons etc.
    So I was wanting to know if instead of saving them every time, if there's an option to get the toolbar displaying above .pdfs in Safari?
    Has anyone else encountered this problem?
    Any help would be greatly appreciated.

    Unfortunately, iOS does not provide a way to install "plugins" to Safari so there is no possible way the Reader can do this. You can use the "open in" functionality to launch Reader from Safari.

  • How can I adjust the width of email display so text remains within the width of display

    Most emails are narrow enough to fit within the width of my display, occasionally I receive an email that spills of the edge of my screen and I need to move focus of my display back & firth with every line, is there a way to display in word wrap.?

    You can set the width of the word wrap in about:config. Get to about:config from Options > Advanced > General > Config Editor. Search for "wrap" and set mailnews.wraplength to whatever works for you. You should also set mail.wrap_long_lines to true.

  • How to do Query optimization?It takes more time to fetch the record from db. Very urgent, I need your assistance

    Hi all
                                     I want to fetch just twenty thousands records from table. My query take more time to fetch  twenty thousands records.  I post my working query, Could you correct the query for me. thanks in advance.
    Query                    
    select
    b.Concatenated_account Account,
    b.Account_description description,
    SUM(case when(Bl.ACTUAL_FLAG='B') then
    ((NVL(Bl.PERIOD_NET_DR, 0)- NVL(Bl.PERIOD_NET_CR, 0)) + (NVL(Bl.PROJECT_TO_DATE_DR, 0)- NVL(Bl.PROJECT_TO_DATE_CR, 0)))end) "Budget_2011"
    from
    gl_balances Bl,
    gl_code_combinations GCC,
    psb_ws_line_balances_i b ,
    gl_budget_versions bv,
    gl_budgets_v gv
    where
    b.CODE_COMBINATION_ID=gcc.CODE_COMBINATION_ID and bl.CODE_COMBINATION_ID=gcc.CODE_COMBINATION_ID and
    bl.budget_version_id =bv.BUDGET_VERSION_ID and gv.budget_version_id= bv.budget_version_id
    and gv.latest_opened_year in (select latest_opened_year-3 from gl_budgets_v where latest_opened_year=:BUDGET_YEAR )
    group by b.Concatenated_account ,b.Account_description

    Hi,
    If this question is related to SQL then please post in SQL forum.
    Otherwise provide more information how this sql is being used and do you want to tune the SQL or the way it fetches the information from DB and display in OAF.
    Regards,
    Sandeep M.

  • How to display a specific tab in a screen after a popup message

    Hi all,
            I've a rewuirement where in i need to display a secific tab in a screen after popping up a warning message. To be specific, when i choose 'Yes' in the popup window, it shoud take me to a tab which is not active while displaying the warning popup.
    Thanks in advance....
    Anil Kumar Japa

    Hi
    U need to active the tab you want to show:
    So you should set the ok_code (of the tab) value to field ACTIVETAB
    <TABSTRIP>-activetab = <OK_CODE>.
    And transfer the value of subscreen number to the subscreen area:
    CALL SUBSCREEN SUBSCREEN1
                 INCLUDING G_CTRL_TABSTRIP-PROG             
                           G_CTRL_TABSTRIP-SUBSCREEN.
    Max

  • How do you set a calendar alarm for a specific time on the day of the event without it being an all-day event

    Does anyone know how to set a calendar alert at a specific time on the day of the event.
    So that the alert date adjusts accordingly if you were to copy and past it to another date.
    The custom alert function kind of does this, but because it is an absolute alert (not relative) it will still refer to the date you initially set it to when you copy and paste it to another date. So this creates more work where you would have to go and manually change all the custom alerts. I have potential
    Anyone know how to set this kind of calendar alert?
    Thanks in advance

    Greetings: Set the alarm to message you (on your screen) and then snooze it every day for 15 days, or, set 15 separate alarm messages. There is probably an AppleScript somewhere on the web too, try searching that way as well.

  • I upgraded to Yosemite several days ago.  The new itunes will display episode numbers.  Does the new itunes allow editing of episode numbers?

    I upgraded to the new operating system, Yosemite, on my 13" macbook pro.  I installed the new itunes in the process of upgrading.  My itunes library includes music files with "episode numbers."  iTunes will display these, but appears not to allow me to enter episode numbers for newly acquired music.  Is there a way I can edit episode numbers?  If not, is it considered a bug?  Can we expect a future release of iTunes in which this is fixed?  If not, why not?  Why has Apple disrupted its customer base's use of its products?  It doesn't seem like a good idea to eliminate useful functionality from your products.

    I don't know why it would take 6 hours to back up your iPad - unless you have the 64GB device and you have it loaded to the gills with content already. It should not take that long.
    You can backup your iPad to your computer and transfer all purchases into iTunes and you should not have to restore the device to factory settings. When you connect the iPad to your computer and launch iTunes, right click on the iPad name on the left sidebar and select Transfer Purchases. That will put all of the apps and purchased content into Tunes on your Mac. Let that process complete and then right click on the device name again and select Backup this time. Let that process complete.
    Now go into all of the different tabs of iTunes, Info, Apps, Music, Photos, etc, etc, and make sure that you have selected all of the content that you want to sync with the iPad. Put checkmarks in all of the headings as well - Sync Apps, Sync Music, etc.... Then click on Sync in the lower right corner.
    If something goes wrong - or if you forget an app or a playlist or album - or anything at all - just go back into the corresponding tab in iTunes, select the item to sync - and click on Apply in the lower right corner.
    After you do all of this - you can set up Wi-Fi syncing and it should go without issue. You can backup to iCloud or to iTunes as you see fit. Personally, I am not relying solely on iCloud yet. I do backup to iCloud, but I still back up to iTunes on my Mac as well - and I use Time Machine to backup all of that up.

  • More specifically here is the error message

    This is what the error message says. It also has the toast icon in it which suggests its a roxio issue but in case its not;;;
    The drive reported an error:
    Sense Key = MEDIUM ERROR
    Sense Code = 0x0C
    WRITE ERROR
    If anyone of you have seen this and know what it means please let me know

    It is saying the disc is bad. Try another brand of media, such as Verbatim.

Maybe you are looking for