Can you please clarify  the doubt in Exception.

public class TraverseExceptionChain
    static public void traverseExceptionChain(Throwable t)
       while(t != null)
         System.out.println(t);
         t = t.getCause();
    public static void main(String args[])
       int array[] = new int[10];
        try
           array[500] = 1;
        catch(Exception e)
           Exception e2=new Exception("Two",e);
           Exception e3=new Exception("Three",e2);
           traverseExceptionChain(e3);
}O/P:
java.lang.Exception: Three
java.lang.Exception: Two
java.lang.ArrayIndexOutOfBoundsException: 500
Can any body explain program especially catch block???

Exception e3 has as cause e2 which has aa cause e, where having a cause means 'this exception is caused by another exception'.
Usually exceptions as wrapped like this to add extra information, while retaining the original exception information.

Similar Messages

  • Ive just subscribed online but realised I have the wrong service by mistake... I require Convert PDF into Word doc service but selected Adobe send in error, sorry. Can you please switch the service for me? Thanks Anthony Levy

    Ive just subscribed online but realised I have the wrong service by mistake... I require Convert PDF into Word doc service but selected Adobe send in error, sorry. Can you please switch the service for me? Thanks Anthony Levy

    Hi Tony,
    Please refer this KB document : Return, cancel, or exchange an Adobe order
    Please let me know if you need any further assistance.
    Regards,
    Rahul

  • HT1541 Can you please put the 40,000 chips i bought for $4.99 on my account for the game called BIG FISH CASINO. I was charged but did not received the chips that i purchased :-(

    Can you please put the 40,000 chips i bought for $4.99 on my account for the game called BIG FISH CASINO. I was charged but did not received the chips that i purchased :-(

    You need to contact iTuens store support of teh game developers:
    http://www.apple.com/support/itunes/contact/

  • Can you please update the link for the flash player standalone installer?

    Can you please update the link for the flash player standalone installer?
    Link: http://fpdownload.macromedia.com/pub/flashplayer/updaters/11/flashplayer_11_plugin_debug_3 2bit.exe
    Source: http://kb2.adobe.com/de/cps/191/tn_19166.html#main_ManualInstaller
    Source: http://forums.adobe.com/thread/889580

    Dogs Key wrote:
    Source: http://kb2.adobe.com/de/cps/191/tn_19166.html#main_ManualInstaller
    That is an old document (Flash Player 10.3) that shouldn't be there anymore.  (The English document redirects to the link below.)
    The download links for the offline installers for FP 11.2 are here http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-windows.html#Ins tall_in_a_firewall_proxy_server_environment
    I have updated the download links for FP 10.3 in http://forums.adobe.com/thread/889580

  • I ordered iphone 6 on 15 oct and delivery date will be from 3 nov-6nov. i'll travel on 7 nov morning, am worried to receive the order late.. can you please expedite the order?

    i ordered iphone 6 on 15 oct and delivery date will be from 3 nov-6nov. i'll travel on 7 nov morning, am worried to receive the order late.. can you please expedite the order?

    No. Because we are not Apple employees. In fact there is no one from Apple in this forum. Contact Apple directly via phone. Use the "Contact Us" link at the bottom of this page to find the phone listing.

  • Can you please provide the .csv files used in Power BI Getting Started Guide

    Hi Team,
    I am exploring the Power BI app developed by Microsoft on My Windows 8 machine
    For that I found the Getting started guide from the below link
    http://office.microsoft.com/en-in/excel-help/power-bi-getting-started-guide-HA104103589.aspx?CTT=5&origin=HA102835634
    Power Query and Power Pivot are totally new to me and I am trying to learn more on it
    While trying to execute the steps given in the starting guide I found that it requires 2 csv files (NYSE Daily 2009 and same for NASDAQ) for mashing up data agaist S&P 500 
    I tried to get from web, but unfortunately not getting the required data
    Can you please provide the test data (the 2 csv files NYSE Daily 2009 and NASDAQ daily 2009) using which I will resume my work in Power BI?
    Thanks in advance
    Rajendra
    InfoCepts( Specialists in Onshore and Offshore BI)
    Rajendra Kitukale InfoCepts(Specialists in Onsite and Offshore BI)

    Hi, all -- here are links to the CSV files.
    NYSE sample data:
    http://go.microsoft.com/fwlink/?LinkID=389692
    NASDAQ sample data:
    http://go.microsoft.com/fwlink/?LinkId=389693
    Hope that helps!
    Maggie Sparkman

  • Can you please provide the information for writing ocp

    Hi,
    Iam planning to write OCP exam, can you please provide the information for it.
    what are the courses i need to take.where can i get the study material for it.
    Looking forward for your reply

    The 9i OCP track is 2 plus 2 exams plus a hands-on course. Follow the links you got above.
    The best study material, if you really want to study and get to know the stuff, is available here on OTN. Download and practice the Database together with reading the Concepts, SQL Reference, Admin and Performance tuning guides from 10g or 9i libraries.
    Use the Search to lookup concepts, syntax etc.

  • Excuse me apple I had the police nock on my door about an iPad that was located at our house and the owner lost the iPad in-between bowral nsw and Sydney can you please fix the app (Find My IPhone)

    Excuse me apple I had the police nock on my door about an iPad that was located at our house and the owner lost the iPad in-between bowral nsw and Sydney can you please fix the app (Find My IPhone) so that person can find their iPad coz the police would of taken mine if I did not show proof of purchase

    You are not communicating with Apple by posting here. Everyone here is just a fellow user and cannot fix anything.
    The Find My iPad service may have indeed been accurate to the limits of the technology. Unless the iPad was a 3G unit, location is determined based on the nearest WiFi router which in your case could just happened to have been yours. The police may be the ones who need to "fix" their understanding of how the technology works and its limitations.
    If you want to provide feedback to Apple on the matter, you can do so via their feedback pages:
    http://www.apple.com/feedback/ipad.html
    but to be of any good you'll have to provide them with more precise details.
    Regards.

  • HT201356 Can you please put the steps to change the rescuer email address since I cannot receive any emails

    Can you please put the steps to change the rescuer email address since I cannot receive any emails

    The steps on the page that you posted from should work, but you can only change your rescue email address if you remember your answers to your security questions :
    - log into the account via the 'manage your apple id' button on http://appleid.apple.com
    - select the Password & Security section on the left-hand side of your account's screen
    - answer the account's security questions
    - you will then get a screen where you can change the address (and/or the questions)
    If you can't remember your answers, and you aren't receiving the reset email to your current rescue email account (and you've checked the spam folder as well as the inbox on it, and tried clicking the reset link again) then you will have to contact Support in your country to get the questions reset.
    Contacting Apple about account security : Contact Apple for help with Apple ID account security
    If your country isn't on that page then try this form to contact Support : https://www.apple.com/emea/support/itunes/contact.html
    When they've been reset follow the above steps for changing your rescue email address

  • HT5312 can you please send the answers to my sercurtiy questions to my email becuase the option to do so does not appear.

    can you please send the answers to my sercurtiy questions to my email becuase the option to do so does not appear.

    The answers are not sent to your rescue email.  A reset link is sent.  If you are not receiving the link to reset your security questions (not the same email as your AppleID email address), you should call applecare and ask for account security.

  • Can you please fix the move and scale when adjusting a wallpaper can you set it up right before iOS 7 update

    Can you please fix the move and scale when adjusting a wallpaper can you set it up right before iOS 7 update and it aggravates me that every time I try to put a picture of my wallpaper is just Zooms in and you can't see all of the picture it wasn't like this before

    Nobody here can change it. We're all just other users like yourself here.

  • Can you please tell the difference between FSCM 8.8 and 9.0

    Hi,
    Can you please tell me the difference b/n PeopleSoft FSCM 8.8 and 9.0.
    What are major changes took place in application from 8.8 to 9.0 and also in tools 8.46 and 8.49.
    Thanks

    Well There is lots of Stuff but hey I will take a crack at it
    First off you will have to go to PeopleTool 8.49 : you get new stuff for IB, XML publisher, Archive Mangers, and too much to cover here....Financials adds:
    Credit Card Encryption
    Workflow Enhancements
    Expenses:
    Save and Hold functionality
    enable approvers to add transaction lines during the approval process.
    Compare Totals
    Payabales
    Financial Santion Validations
    Digital Sig on Electronic Invoices
    Tons of Voucher enhancements : sales Use Tax, ssesion defualts, related documents page
    Streamlined withholding process
    Payment Processing Enhancements: mass payment cancellations
    AM
    Fair Market Value tracking
    Depr. Write-off Reval. Method
    Multiple Deprecation Enchnacements:
    General Assets;
    Operational attributes and creation of non-financial assets
    Asset component hierarchy enhancements
    Configurable attributes for asset definition
    Other enhancements to the asset repository
    General Ledger
    Enhanced spreadsheet import.
    Enhanced combination editing.
    Enhanced audits of VAT report amounts.
    XML Publisher for ChartField reporting

  • I bought a itunes card and i put it on my ipod and it came up security questions and i forgot my answers so can you please email the answers to me

    i bought an itunes card and i put it on my ipod and it came up security questions and i forgot my answers can you please tell me what my answers were

    See this previous discussion:
    HT1491 How do i get the security...: Apple Support Communities

  • TS1741 my i pad is lock up and i cant get it unlocked can you please help the password was used to many times

    my i pad is lock can someone please help  the password was used to many times

    If you have forgotten the iPad passcode and you cannot unlock the device, you have to restore the device within iTunes. You want to use the same computer that you always sync with so that you can restore your iTunes content. You can restore with any other computer, but you will lose everything on the iPad.
    Instructions can be found here.
    http://support.apple.com/kb/ht1212
    You will probably need to restore using Recovery Mode. You can read about it here.
    http://support.apple.com/kb/ht4097

  • Can you please fix the iOS 4.3 dropped calls?!

    Hi,
    There was another forum thread about iOS 4.3 dropping calls, and it must have been taken down because the user mentioned downgrading. 
    In any case, I need a solution for my dropped calls. 
    I had no problems with hours of calls on IOS 4.1 on an iPhone 4, and then decided to "upgrade" because I would rather not have my location monitored all the time.  I used to make long conference calls too.
    Now, I can't make those conference calls without it dropping every few minutes, and sometimes I have problems connecting with people.  Today, my call to my father dropped after 2 minutes, and then it dropped every time I called him back (4 times).  The other day, I tried to get a conference call going, and it dropped more than 10 times.  I NEVER had that problem with 4.1.
    Yes, I rebootted it.  Yes, I even REFRESHED and gave my iPhone a completely new start (accidentally erasing some pictures I meant to keep along the way).  It DIDN'T WORK. 
    Now, I'm frustrated.  Can anyone help me with a legal idea that I haven't tried yet?  Or can you developers fix this situation - QUICKLY?

    Sorry, not refreshed -- I meant restored. 
    I live in Eugene, OR, but I have read somewhere that people in DC are having problems.  What's the deal?

Maybe you are looking for

  • Delivery schedule lines

    Hi Experts, Please clarify whether delivery schedule lines if creatd manaully in ME38 will get affected/changed by MRP run. Edited by: Shravan A on Apr 15, 2008 7:04 PM

  • Function Module for Update Payment Terms in Vendor Master

    Hi Guys, I have to update Payment Terms in Vendor General and  Compnr code level by ABAP Program. If any guys come accross pl help me to send the FM Details. Thanks in advance.

  • Mobile me to iweb import problems.

    A year ago I created a family history album on iweb and published it. Now I cannot edit it or see the pages in iweb. They are only viewable in mobile me. How can I import the pages to iweb so I can edit them. The site contains a lot of family images

  • Re-directing a Telstra number to a Skype online nu...

    We have a Telstra redirection in place from a Telstra number to a Skype online number. When someone dials the Telstra number from a landline, the call is redirected to the Skype online number - no problems. However, when someone dials the Telstra num

  • HT201401 My home button does not respond and the phone will not shut off

    Has anyone had a similar problem where the phone will not shut off and the home button does not respond