Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #22687
| Path | csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!nuzba.szn.dk!pnx.dk!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail |
|---|---|
| From | Sven Köhler <remove-sven.koehler@gmail.com> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Exceptions |
| Date | Sun, 03 Mar 2013 01:16:04 +0100 |
| Lines | 20 |
| Message-ID | <apfiurF8h8oU1@mid.dfncis.de> (permalink) |
| References | <deaa58eb-e149-41fb-b428-479e837919bb@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | 7bit |
| X-Trace | news.dfncis.de 8C4ZZ+9HI5SjUDVGyJje2QcYrwFOZ0WIghxG+De/mFMjPbjyiwTD9yVLDPOwuLp5lKX7uW9CtN |
| Cancel-Lock | sha1:6JKcFPi6QTvuilYfcbSdK2X2Zwg= |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130223 Thunderbird/17.0.3 |
| In-Reply-To | <deaa58eb-e149-41fb-b428-479e837919bb@googlegroups.com> |
| Xref | csiph.com comp.lang.java.programmer:22687 |
Show key headers only | View raw
Am 02.03.2013 20:08, schrieb subhabangalore@gmail.com: > I am trying to learn now exceptions. I am looking for a list of > common exceptions in Java and how one may debug them. You should learn about checked and unchecked exception and the difference between them. Consider the following examples: FileNotFoundException (checked) ArrayIndexOutOfBoundsException (unchecked) If by debugging an exception you mean to find its cause? Well, each exception has a stack trace and a message attached. That should tell you what happened, and where it happened. Not every exception needs debugging. A FileNotFoundException is perfectly normal, if one tries to open a file that does not exist. Regards, Sven
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Exceptions subhabangalore@gmail.com - 2013-03-02 11:08 -0800
Re: Exceptions Martin Gregorie <martin@address-in-sig.invalid> - 2013-03-02 19:30 +0000
Re: Exceptions Lew <lewbloch@gmail.com> - 2013-03-02 14:50 -0800
Re: Exceptions Sven Köhler <remove-sven.koehler@gmail.com> - 2013-03-03 01:16 +0100
Re: Exceptions Arne Vajhøj <arne@vajhoej.dk> - 2013-03-02 18:08 -0500
Re: Exceptions subhabangalore@gmail.com - 2013-03-03 01:29 -0800
Re: Exceptions Roedy Green <see_website@mindprod.com.invalid> - 2013-03-03 07:16 -0800
Re: Exceptions Rajiv Gupta <rajiv@invalid.com> - 2013-03-04 11:41 +1100
Re: Exceptions Roedy Green <see_website@mindprod.com.invalid> - 2013-03-04 10:16 -0800
csiph-web