To customize the error msg

Hello

I use oracle 10g 3.2.
I am writing a select statement inside an anonymous PL/SQL block as part of a process.

declare
.............
Start
Select the name in the name of m_methods_exp where method_internal_index = i.method_internal_index;
...........
end;

Once the select query is no line in the Pb it return "no data available" once u click on a button in clicking of which the process is running.
Can I customize the error message to another message I want "no such method methods.csv of the file?


I tried to use this after the select statement, but it does not work well.

If the name is null then
RAISE_APPLICATION_ERROR (-20026,' ERROR: no such method found in the methods.csv file.) ") ;
end if;

After the select statement, but it does not work well.

I have a lot of other select statements in the block, and for each of them, I want to show a msg on measure.

Thank you
Olivier

Hi Olivier,.

declare
.............
begin
                   begin
                                 select name into name from m_methods_exp where method_internal_index=i.method_internal_index;
                   exception when no_data_found then
                                  RAISE_APPLICATION_ERROR(-20026,'ERROR : No such method found in methods.csv file.');
                   end;
...........
end;

* 009 *.

Published by: 009 9 March 2010 21:10

Tags: Database

Similar Questions

  • After you start the computer, I get the error msg: "ProfileCnt.Exe has encountered a problem should be closed.

    After you start the computer, I get the error msg: "ProfileCnt.Exe has encountered a problem should be closed" can someone help me?

    Hello

    Some research suggests that ProfileCnt.exe belongs to a wireless card or

    Ethernet card.

    Work using the boot minimum troubleshooting to identify the troublesome program,

    then uninstall/reinstall this program.

    331769-how to perform a procedure to clean boot (XP & Vista)
    http://support.Microsoft.com/kb/331796

    Alternatively, looking for C:\Program Files for the file ProfileCnt.exe can tell you

    What program is involved.

    Don

  • Unable to save the files to the desktop, the error msg says I don't have permission to do this and to cantact admin but I m user having admin status.

    IN WINDOWS 7, cannot save the files to the desktop, the error msg says I don't have permission to do this and to cantact admin but I m user having admin status. ALL SUGGESTED SOLUTUTION? THE FILE in question is created with ms word 2007. I can record on other places lik e in drive D: etc.

    I could open your Explorer of files and go to C:\Users\Vanbee (or any folder of your user name), then right click on the folder on the desktop it there and go to properties.  On the Security tab, make sure that you have a full control on the folder.

  • How to print after the Error Msg: cannot convert the postscript file

    "Maverick", we installed our MacBook Pro and our printer is a HP 8600.  We have failed to get our Adobe Acrobat Professional 8 to print our PDF files.  Instead, we got the error msg: impression: cannot convert the postscript file.  We have used this application for years without any problem.  How do we solve this problem so that our request will BE "convert postscript file" or do we not have to spend several hundred dollars to upgrade?

    I think that we have solved the problem.  Instead of looking for the solution via Adobe, we went to our info from the printer online, which was the HP OfficeJet 8600.  We found the printer drivers special for our system of operating newly installed Maverick for our MacBook Pro.  After having downloaded and installed the new drivers by fashion, we tested print a pdf document, and it was printed without any problems.

  • customize the error page

    Hi all, in the past I used "toolkit.zip" to customize the page to display when an error occurs. In the latest version (12), I find this file. Can anyone tell me if it has been removed or what.

    Thank you very much

    DCJ

    You can read the Archives of omni.ja via the address bar: resources: / / /

  • can not install the latest version of itunes, get the error msg: "the component you are trying to use is on a network unavailable resource."

    Can not install the latest version of iTunes.  Everytime I try I get this error msg: "the component you are trying to use is on a network resource that is unavailable."

    Then I click OK and get this msg: could not find the path C:\users\my name\appdata\local\apple\apple software update\itunes6464.msi.

    I need to sync my new iPad pro and because used to synchronize requires the latest update, I have my laptop but I never have syncd my ipad with this computer and if I try to backup if I agree to erase everything on my device and sync with the laptop.  Of course, I don't want to do what I want to see everything on the NEW ipad from the old version.

    I went through the troubleshooting and found a solution, but when I had finished making all this trouble report said, there was a pesky itunes shortcut file on the left and I can not delete this shortcut, regardless of how many times I try.  If I can't remove it, the Installation will be terminated.  How can I delete this file?

    For general advice, see troubleshooting problems with iTunes for Windows updates. Start by Missing MSI errors .

    The steps described in the second case are a guide to remove everything related to iTunes and then rebuild what is often a good starting point, unless the symptoms indicate a more specific approach.

    Review the other boxes and other support documents list to the bottom of the page, in case one of them applies.

    More information area has direct links with the current and recent buildings if you have problems to download, must revert to an older version or want to try the version of iTunes for Windows (64-bit-for old video cards) as a workaround for problems with installation or operation, or compatibility with QuickTime software or a third party.

    Backups of your library and device should be affected by these measures but there are links to backup and recovery advice there.

    TT2

  • Get the error msg when inserting a record

    Hello
    Am get error msg while am insert a new record. Can't display the data that I inserted into database. If anyone can help in sorting the problem please help. I used the following code in the Module (AM) and controlling (CO) Application

    processRequest()
    -am.invokeMethod ("insertmethod");

    processFormRequest()
    -if (pageContext.getParameter ("Create")! = null)
    -am.invokeMethod ("savemethod");

    In the AOS Code
    Public Sub insertmethod()
    {
    EOVOImpl vo = getEOVO1 ();
    If (!) VO.isPreparedForExecution ())
    {vo.executeQuery () ;}
    Line ro = vo.createRow ();
    vo.insertRow (ro);
    ro.setNewRowState (Row.STATUS_INITIALIZED);
    }

    Public Sub savemethod()
    {OADBTransaction oa = getOADBTransaction ();
    OA.Commit (); }
    Error
    KiInsertAM.kiInsertEOVO1 SummaryFlag attribute is required

    Hello

    Error says clearly that the 'SummaryFlag' attribute is required and you have not assigned any value to it.

    Kind regards
    Out Sharma

  • How is it, I can't create thread (see the error msg) following?

    Hello

    When I tried to create a breadcrumb, I got the following error msg. Any ideas/suggestions?

    Or this app is on apex.oracle.com, if anyone is interested to take a look:

    workspace: test_0712
    user: demo
    PSWD: demoPswd
    Page #21->
    Breadcrumb to create entry-> breadcrumb trail: breadcrumb, Page * 21 *.
    Entry-> Parent entered clinician (Page 4) -> short name: clinician
    The goal is "A Page of this Application"-> Page * 21 *.

    ============

    1 error has occurred
    This Page of Identification of Menu already has an associated Menu Option. You must select another page

    ============

    Thanks a lot :)
    Helen

    Hi Helen,

    I looked at the request and he has made two changes. There was an existing "entry breadcrumb 'Clinician Info form NOUVELLEENTREE' on the same page with parents like null, I just deleted and recreated a new entry with Page 4 parent."
    If you go to components shared-> breadcrumbs > Breadcrumb inputs and on the right side task, click table view, you can see all the entries that are not visible by default view hierarchical.

    Thank you
    Manish Jha

  • Need help with the error msg 1120: access of undefined property

    I'm not a coder, so I need help coding. Any help would be greatly appreciated.

    I'm a Flash banner that was given instructions "clickTAG" of Google. The code, they said to put the button is:

    Parameter ClickTAG for ActionScript 3 code:

    import flash.events.MouseEvent;
    import flash.net.URLRequest;
    // ......


    () someButton_or_displayObject_to_receive_mouseClick.addEventListener
    MouseEvent.CLICK,
    function(Event: MouseEvent): void {}
    flash.net.navigateToURL (new URLRequest (root.loaderInfo.parameters.clickTAG), '_blank');
    }
    );

    Replace someButton_or_displayObject_to_receive_mouseClick with the actual name of the button that will receive the click.

    Note that it is not necessary to specify the destination URL of the ad anywhere in this code; This is supported through the use of "clickTAG". In addition, according to the structure of your Flash Ad, it may be necessary to add "_root." or "_level0." for "clickTAG" above, resulting in a "_root.clickTAG" or "_level0.clickTAG". It is strongly recommended to download the ad on your account and check the ad behaves normally until she'll live, granted for the necessary changes.

    And this is the code that I put in (btnClickTag is the name of my button):

    import flash.events.MouseEvent;

    import flash.net.URLRequest;



    () btnClickTag.addEventListener

    MouseEvent.CLICK,

    function(Event: MouseEvent): void {}

    flash.net.navigateToURL (new URLRequest (root.loaderInfo.parameters.clickTAG), '_blank');

    }

    );

    and this is the error I got:

    Scene1, layer 'actions', image1, 1120: access of undefined property btnClickTag. () btnClickTag.addEventListener

    First of all, make sure that you have assigned this name to the button using the properties panel, and then, don't forget to adjust the code so that it is not spread over several lines... normally it must be on a single line.  Do not nest the function where the listener either, so try the following (not necessary for import declarations)...

    btnClickTag.addEventListener (MouseEvent.CLICK, tagClick);

    function tagClick(event:MouseEvent):void {}

    navigateToURL (new URLRequest (root.loaderInfo.parameters.clickTAG), '_blank');

    }

  • Win7 OS Update downloads the Error Msg

    He said unknown error

    "WindowsUpdate_8000FFFF" "WindowsUpdate_dt000" Msg received,

    11 security updates failed to install.

    What is a registry like Visat problem?

    What are the steps to fix this problem?

    Sorry missed that have nothing specific for Windows 7. Suggest:

    Free request incident support Microsoft Windows Update:
    https://support.Microsoft.com/OAS/default.aspx?Gprid=6527

    TaurArian [MVP] 2005-2011 - Update Services

  • A challenge difficult: RunDLL not ceases to appear with the error msg... module could not be found. It is because I deleted it. Help me stop this msg.

    Awhile back, I stupidly downloaded Arcade yum. (DO NOT DOWNLOAD THIS PROGRAM) Apparently, I thought that I deleted in the uninstall programs, but not completely deleted. This program has always tried to load all types of advertising or not I was on the Arcadeyum site or not. Even after deletion. And I went through all the folders and find all files and erased AY programs.

    Now, I keep getting interrupted by the message: title bar: RunDLL MSG:Error loading C:\users\Paulus\AppData\Local\ArcadeYum\AyHelp.dll

    The specified module could not be found.

    Well, it would be because I removed it manually as I mentioned earlier. I launches the scan to Microsoft security essentials quick scan daily and complete once a week, but that's it. RunDLL program continues to call to load the program. So I guess the question would be: How can I get RunDll to arrest the appellant for a module that does not exist?

    To get knowledge that I have will not load other programs of security due to logic problems, this causes with Security Essentials Program. RunDLL program obviously has a line of code to load the module. How to remove the line or clean the program?

    As I hit anywhere on any program opens the box and my typing does more for a second long enough to make mistakes. Really inconvienient. Thank you.

    Hello

    No program of singles will find everything and that includes MSE.

    And the free Malwarebytes, which is not an AV does not r interfere with MSE as Malwarebytes is a scanner at the request.

    And when you ask us for advice, we give you the best advice we can.

    Download, install, update and scan your system with the free version of Malwarebytes AntiMalware:

    http://www.Malwarebytes.org/products/malwarebytes_free

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    If the problem persists after scanning, take these startup entries:

    "How to use MSCONFIG in Windows Vista"

    http://www.netsquirrel.com/Msconfig/msconfig_vista.html

    You can also use this free program to do, too:

    "Autoruns for Windows V11.32"

    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902.aspx

    See for this task scheduler.

    See you soon.

  • Customize the error page "submissions in double page to authorize."

    Hello

    If you set "Double page to authorize bid" to NO, you can not post a form more than once, if you do, you get an error page (for example, if you double click on save button).

    Is it possible to customize this page to standard error (translate and use a different presentation)?

    The standards page looks like this:
    Error ERR-3331 this page had already been supplied and cannot be re-introduced.
    Continue-(which is a link to a page that you can set in the properties of the page)
    OK-(redirects to the form)


    Concerning
    Bottom

    Regardless of the type of error you want to catch, it's a common request.

    Search through these forums, or try one of the many offers good blog
    http://lmgtfy.com/?q=customise+Oracle+Apex+error+page

    It also depends on your version of Apex-> 4.1 fact it very easy to customize error pages.

  • Mozilla plugin checker stops with the error msg; Impossible to update to Acrobat, Shockwave Flash, Java, Metastream.

    Desktop computer running XP Media Center, Firefox 18.0.1. Acrobat plugin 7.0.0.0 generating warnings, suggests the necessary update. Shockwave Flash 10.1.85.3 is vulerable and needs updating. Java SE 7 U 4 is vulnerable and has been disabled and attention suggested when using. Metastream 3.2.2.26 is disabled. Auditor plug-in does not complete check; error reports, please try again later. Very frustrating when Firefox disable plug-ins, still won't let you update!

    The plugin check page is today to have some bugs. In the meantime, use http://ninite.com/flash-java-reader/ninite.exe to update your software.

  • Why I can't install an update? I get the error msg 57

    I have windows vista and when I try to install my updates, there is one that can not be installed I get an error message 000000057.

    Hi VianneyTorres,

    You are trying to install updates?

    You can follow this link & check if the problem persists:

    You cannot install some programs or updates


    Reference:
    the problems with installing updates

    Hope the helps of information.

  • Whenever I try to move/scanning/reading messages in WLM I get the error msg 'we cannot connect to WLM now. "

    For about a month now (may be related to the installation of the Service Pack?), whenever I try to move/scanning/reading messages. in Windows Live mail, I get the same error message "we cannot connect to Windows Live Mail right now. Please try again later. You may not be connected to the Internet. "But I'm certainly online, it shows up on the taskbar.  Can someone please?

    Hello

    The question you have posted will be well suited in Windows Live Mail Solution Center. I suggest you to send your application in Windows Live Mail Center Solution for better support

    http://windowslivehelp.com/product.aspx?ProductID=15

Maybe you are looking for

  • I get a pop up window that says 'URL cannot load. What gives?

    At random, well-known sites, I randomly get a pop up window that says: "The URL is not valid and cannot be loaded." Firefox loads the site but I have to click outside the pop-up to go forward. What gives? I am running Windows 7 on a new computer HP l

  • How to configure iCloud drive on an iPad Air

    How to configure iCloud drive on an iPad Air. There is no other choice when I go into the settings to iCloud

  • Modem sound card internal dv5000

    My DV5000 (DV5218nr) has experienced an internal dial up modem hardware failure. The modem in this laptop is also the sound card. what I'm trying to do is find a reference number and a source of replacement. Part HP resellers want the part number to

  • (Redirected) ALIENWARE AREA 51 AND GTX 1080

    hi, do you know if in the future there will be the opportunity to buy the Alienware Area 51 already with the GTX 1080 ? ( single double or triple )

  • Site to download Windows 7 ISO offer only French & Korean (wrench!)

    Hello I am trying to download a Windows 7 Professional 64 bit English ISO from this site: https://www.Microsoft.com/en-AU/software-download/Windows7 When I enter my key it offers me only the Korean versions or French to download. My key is a wrench b