question of the exception!

Hello gurus,
Here is the exception...
 
   EXCEPTION
         WHEN others THEN
                RAISE_APPLICATION_ERROR (-20900, 'mov_tbl1' || ' - ' || 'Error: ' || to_char(SQLCODE) || '-' || to_char(SQLERRM));

 
Regarding understanding will...

I believe " whenever others error then it raises with 20900 error and dispalys message as "mov_tbl1 error: 20900"

 
{code}

if i m wrong ...please correct me ....what will be the display message ???


Thank you!!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

Hello

 RAISE_APPLICATION_ERROR (-20900, 'mov_tbl1' || ' - ' || 'Error: ' || to_char(SQLCODE) || '-' || to_char(SQLERRM));

Means
-20900 the actual error NUMBER and indicate the error number 20900
Add it with the word move_tb1 - ERROR: real error code: error message itself;

To actually see how it would look run the following piece of code

-- Created on 2/24/2010 by BHUSHAN
declare
  -- Local variables here
  i integer;
begin
  -- Test statements here
  SELECT 'a' INTO i FROM dual;

  eXCEPTION
         WHEN others THEN
                RAISE_APPLICATION_ERROR (-20900, 'mov_tbl1' || ' - ' || 'Error: ' || to_char(SQLCODE) || '-' || to_char(SQLERRM));
end;

See you soon!
Bobin

Tags: Database

Similar Questions

  • Another question on the exception of 'Port of SMS already use' in

    I found a lot of discussion about the exception 'SMS Port already use' in. My question is this:. Say an application opens a port SMS and ends abnormally without closing. The unit will continue with the exception of 'Port of SMS already in use' up to reset the signal? is there a way to clean the orifice opened without a reset of the device?

    I need to listen to a specific port and from what I've read, even the datagram method allows one connection.

    Hi scoleman2272

    This KB article explains how to use the connection of datagram. This works for listening, the reverse is also true however for sending.

    I hope this helps.

    Concerning

  • 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.

  • Hi, I answered no to the question on the registration of password for a spesific site. I changed my mind and would like Firefox to save the password. How to re-enable password for a spesific site saver?

    Hi, I answered no to the question on the registration of password for a spesific site. I changed my mind and would like Firefox to save the password. How to re-enable password for a spesific site saver?

    Check the list of exceptions to your Firefox password manager and check if your site is there or not?

  • Questions about the record HDD Recovery - Satellite L350D

    Hello everyone!

    I have a Satellite L350D with Windows Vista.
    I'm in my mind to reinstall.
    All my data from the two partitions are saved with the exception of a folder on my drive E Data "HDDRecovery" who shouldn't be modyfied or deleted, or whatever.

    I wonder if all the data are removed from the hard disk due to formatting, how does appear that this same folder HDDRecovery remains safe on the hard drive?
    Or is that the hard drive is not really formatted and data on my hard drive are always safe and hidden?

    Thank you for answers!

    Hello

    I'll try to explain how it works.

    Original Toshiba designed for your laptop recovery image is recorded on the second partition in the file called HDDRecovery. This image should be used if you want to install OS and have the original state factory.

    For this installation, you can use this recovery image of the second partition or by using the recovery DVD. It is recommended to everyone to create this recovery DVDs. Have you created?

    If you use recovery DVD the whole HARD disk will be formatted and all data stored thereon will be removed.
    If you start the HARD drive recovery process only C partition is removed. This folder HDDRecovery is important if you only want to use HARD drive recovery facility. When you want to use the DVD only you can remove (I do not recommend you to do).

    I hope I could help a little, but if you have any other questions please let us know.

  • A few questions about the difference between the Satellite P70, L70, S70

    Hello, I have a lot of questions about the P70, L70, S70 series that come with a 1920 x 1080 panel.

    (1) what are the differences between the L70 and S70 series? With the exception of the RAM and HARD drive capacity, books seem pretty identical.

    (2) P70, L70, S70 doesn't support a 2nd HARD drive or it's just the P70 series that support?

    (3) all the three (P70, L70, S70 series) come with the same TFT panels?

    (4) of the above series, which supports mSata?

    (5) all the model of each series are delivered with support from mSata? For example, it could be that L70 - a - 13 m supports mSata is not the case of the L70-a-146?

    (6) all the foregoing, are delivered with a S - ATA II or III S - ATA interface?

    (7) who is the best of these series listed? I'm trying to understand what makes the big difference of S70 to P70 except for the envelope for example.

    Thank you in advance.

    > (1) what are the differences between the series L70 and S70? With the exception of the RAM and HARD drive capacity, books seem pretty identical.

    What models Sat L70 and S70 do you mean exactly? There are different L70-xxx-xxx and S70 models on the market that supports different hardware specifications.

    (> S70 2) P70, L70, support a 2nd drive HARD or is - it just the series P70 that support?
    As you can see in this [Sam P70 HDD replacement document, | http://aps2.toshiba-tro.de/kb0/CRU3903II0000R01.htm] the P70 series supports the 2nd drive Bay HARD, BUT even if there is a 2nd HARD drive Bay, this does not mean that you can use the 2nd HARD drive. In the case where the 2nd HARD drive Bay are equipped with HARD drive connector, you can use the 2nd HARD drive

    I also found the [Sam L70/S70 HDD replacement | http://aps2.toshiba-tro.de/kb0/CRU3703HG0000R01.htm] the document on the Toshiba page and there I see this 2nd HARD drive Bay is not available

    (> 3) all three (P70, L70, S70 series) come with the same TFT panels?
    See point 1). Different P70, L70, S70 models were equipped with different material parts.

    (> 4) of the series above, which takes in charge mSata?
    As far as I know that some P70 models are equipped with an mSATA SSD of 256 GB.

    (> 5) do all the model of each series are delivered with support mSata? For example, it could be that L70 - a - 13 m supports mSata is not the case of the L70-a-146?
    See point 4) not all models supports the same hardware specifications

    (> 6) all of the above, come with a S - ATA II or III S - ATA interface?
    I don t think that SATA III is supported. I guess it would be SATA II

    (> 7) which is the best of these series listed? I'm trying to understand what makes the big difference of S70 to P70 except for the envelope for example.
    Not easy to answer because there are too many models released in Europea.
    And not all models are available in each country. So I guess you will have to look for the models that have been released in your country.

  • Question about the benefits and experience of the Qosmio laptop

    Hello
    I'm looking for laptop or a pc (laptop is better for mobility)
    TV work with or without window (a multi stunderd (pal-ntsc-secam) tv tuner card)
    and as a VCR (has the ability of dvr with or without window)
    and as a CD/DVD drive (with or without windows of course)
    and as a receiver Satellite (DVB digital and analog RECEIVER card sorts) with or without window
    and as a computer course

    before 2 years when they announced Toshiba Qosmio international worm. I said that, it is
    but now I'am not certain this is what I want to or not because what I hear users is do not internationally function as all TVs available now with the exception of the country of purchase.
    and the digital DVB tuner is just DVB - T.

    I heard that a talk about capacity dvr Qosmio is it good or not?
    and the CD/DVD qosmio player is cloudy! everyone uses sony ps2 to play CDs DVDs. After dvd player and windows pc.

    I read on the other no Toshiba laptop it's ok for pc portable av, but I think it will be better than
    Toshiba qosmio with pc tv tuner card.

    I want to watch one edition & recoreding (with or without) windwos in a laptop.
    and I will not buy qosmio or another unit with external cards and devices just to do the job!

    My Question is what is good for & what is not good for?
    What is the advantages & disadvantages of qosmio?
    What is the best model of qosmio?
    can I put external cards and devices in qosmio and multimedia work as a better laptop?

    If it please help me tell me what I want or not?
    A laptop is better than the Qosmio or other similar devices?
    What is the best external cards and compatible with qosmio devices?

    Give me your advice and experiences with qosmio and thanks in advance for your answers.

    Hello

    I only ever saw a computer laptop with everything you needed (desired) functions and features.
    The Qosmio laptop is a high-end device and you can watch TV (digital TV signal case). The Qosmio support the Qosmio player. This feature allows you to play movies, music, etc, not to mention windows.
    It supports the PCMCIA port, and you can use another type of PCMICA cards with different functions.

    You asked for the best Qosmio. Well, the new Qosmio series at the moment is a G30 and F30.
    You should check the properties of this two Qosmio series.
    As a general rule, in my opinion, it's a good choice to use the Qosmio. But you know it's your choice.

  • Question of SEH Exception occurring on windows server 2012

    Hey, partner,

    One of our client running a desktop application that is developed using .net and some 3rd party controls.

    They had updated to Windows server 2008 R2 to Windows server 2012 R2.

    And using Sql Server 2012.

    They receive the SEH exception on Terminal server environment permanently.

    They restart the server. It is not reproducible on demand.

    Is - this Microsoft provided service packs or hotfixes for this kind of questions?

    Here are the logs of the sample

    Source of the exception: System.Windows.Forms
    Exception type: System.Runtime.InteropServices.SEHException
    Exception message: external component has thrown an exception.
    Exception target site: DispatchMessageW
    -Stack trace-
    to System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW (MSG & msg)
    at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop (Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner (Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.ThreadContext.RunMessageLoop (Int32 reason, ApplicationContext context)
    at System.Windows.Forms.Application.Run (ApplicationContext context)

    System.Runtime.InteropServices.SEHException
    External component has thrown an exception.

    Thank you

    Srinivas

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • Convert.ToDouble API throws the exception on German OS - Windows 2008 R2 SP1

    (I used VS2010, c#, .NET Framework 4 Client Profile, Console application)

    Object Value = '-1.67E + 308';

    Double t = Convert.ToDouble (Value);

    This API Convert.ToDouble throws the exception (the value is too large or too small for conversion into Double) on German OS - Windows 2008 R2 SP1 and it works very well on an English OS

    Why is this?

    Hello

    The question you posted would be better suited in c# programming MSDN Forums. Please visit the link below to find a community that will provide the support you want.

    Hope this information is useful.

  • The exception unknown software exception (0xc0000005) occurred in the application at location 0x7da5f90c

    Hello

    I'm running a Windows Server 2008 R2 and over the past two days, I started getting this message after reboot

    The exception unknown software exception

    (0xc0000005) occurred in the application at

    location 0x7da5f90c

    Click ok to terminate the program

    0x0043310d

    Anyone know what means this exception. I saw some info who deduced it is malware or a HARD drive failure

    Max

    Hello

    Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. Please ask your question in the appropriate Forum TechNet. You can follow the link to your question:
    http://social.technet.Microsoft.com/forums/en-us/winservergen/threads

  • I use Verizon as a server with their security suite. I can receive emails with any address with the exception of Windows Live Hotmail addresses.

    I use verizon as a server with their security suite.  I can receive emails with any address with the exception of hotmail addresses.  I put the filters for hotmail, but I can not receive emails from anyone with a hotmail account.  Any ideas or suggestions?
    Thank you

    Hi DonaldMagaw,

    When you use Windows Live Hotmail and the question you have posted is related to Windows Live, so it would be better suited in the Windows Live community. Please visit the link below to find a community that will provide the best support.

    Windows Live Solution Center Hotmail Portal

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

    I hope this helps.

  • Smartphone Newbie question blackBerry - general question on the synchronization of e-mail

    Hello

    I have a general question about the synchronization of e-mail and BlackBerry smart phones.  Y at - it none of the devices that enable E-mail synchronization with Microsoft Exchange 2007 system not requiring BlackBerry Enterprise server?

    Thank you; Sorry if this has been asked before but I was unable to find it in the forums, documentation, etc.  Guess what I found for this kind of environment, you will use a BlackBerry Enterprise solution, but I can't assume.

    Thanks again.

    The short answer is no - BB using a different methodology than the use of WM. BB Push, WM uses (for most) sweater. As a result, the long answer...

    BB uses a server solution - it's called the BlackBerry Internet Service (BIS) and it is hosted by your carrier. As an ENCORE, you create a BIS account, then create configurations for different emails, save your credentials for each e-mail account with necessary configuration items (as an ENCORE) (name of the server, the special ports, etc.). Then, BIS periodically checks your mail servers (about every 15 minutes) for any changes on the server that are required on the BB - only, so it generates traffic to your BB to expel these changes. If there is nothing that need to come to the HH, there is no traffic on the network of the carrier.

    WM, on the other hand, devices use (for the most part - there are exceptions) a technology pull... the device itself asks your e-mail servers for changes that need to come to the HH. This generates more traffic on the network of the carrier that the action of the poll itself generates traffic, even if there is nothing to come to the HH.

    Another distinction is the notion of synchronization - in the vernacular WM, it means that what makes your Inbox to the server mailbox and your lines of mailbox HH of the each other for everything (items old and new)... In the vernacular of BB, what is happening is the reconciliation of the new features and changes. But the old elements aren't coming for BB... only news of the moment of activation.

    Another distinction is just what reconcile to a BB - new, remove, read/unread, saved, etc. Which varies according to the messaging service... see this KB for more information:

    • KB05133 Features of the BlackBerry Internet Service email reconciliation

    Hope that helps!

  • Startup error: the exception unknown software exception (0 x 40000015) occurred in the application at location 0x0126f9bd

    When I turn on my Lenovo L512 this message appears.
    can someone tell me what is happening in my computer? I can't find the location and I can not find software that might be bothering me. does anyone know how to stop this message from appearing.

    Original title:
    The exception unknown software exception (0 x 40000015) occurred in the application at location 0x0126f9bd
     

    The exception unknown software exception (0 x 40000015) occurred in the application at location 0x0126f9bd

    Click on OK to terminate the program.

    Hello
    You did changes to the computer before the show?
    Method 1:
    Place the computer in a clean boot state, and look for the question:
    To help resolve the error and other messages, you can start Windows 7 by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.

    How to solve the problem by running the clean boot in Windows Vista or Windows 7:
    http://support.Microsoft.com/kb/929135
    Note: When you're done to diagnose, follow step 7 of article to start on normal startup.
     
    Method 2:
    Run a full scan to a computer using the antivirus software installed on the computer or the Microsoft Safety Scanner to see if it makes a difference:
    Microsoft safety scanner
    http://www.Microsoft.com/security/scanner/en-us/default.aspx
    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again. The Microsoft Safety Scanner is not a replacement for the use of antivirus software that offers continuous protection. For a real-time protection that helps you keep your home or small office PC against viruses, spyware and other malicious software, download Microsoft Security Essentials.
    Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.
  • 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.

  • Download the stand-alone host to vCenter License Server failed because the exception: vim.fault.HostConnectFault.

    Location:

    ESXi 5.5 Update 2 stand-alone host with a licnese Essentials

    vCenter Server 5.5 Update 2

    Whenever I'm going to add this host to vCenter he fails with the error: download the file < HOST IP > license to vCenter Server failed because the exception: vim.fault.HostConnectFault.

    I restarted the server vCenter, tried different credentials and looked through all the articles online that I can find online with the same question and nothing none of them suggested has worked so far.

    Thoughts?  Ideas?

    I'll leave this here in the event that it helps someone else.  I was using an administrator account on the stand-alone host in an attempt to add it via vCenter.  Once I started using the Root account on the host, I could add without problems.

Maybe you are looking for