Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #22684 > unrolled thread
| Started by | subhabangalore@gmail.com |
|---|---|
| First post | 2013-03-02 11:08 -0800 |
| Last post | 2013-03-04 10:16 -0800 |
| Articles | 9 — 7 participants |
Back to article view | Back to comp.lang.java.programmer
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
| From | subhabangalore@gmail.com |
|---|---|
| Date | 2013-03-02 11:08 -0800 |
| Subject | Exceptions |
| Message-ID | <deaa58eb-e149-41fb-b428-479e837919bb@googlegroups.com> |
Dear Group, I am trying to learn Java and I am honored the way the expert members of the room are kindly guiding me. I am trying to learn now exceptions. I am looking for a list of common exceptions in Java and how one may debug them. If any one of you can kindly suggest. Thanking you in Advance, Regards, Subhabrata.
[toc] | [next] | [standalone]
| From | Martin Gregorie <martin@address-in-sig.invalid> |
|---|---|
| Date | 2013-03-02 19:30 +0000 |
| Message-ID | <kgtjvu$a22$1@localhost.localdomain> |
| In reply to | #22684 |
On Sat, 02 Mar 2013 11:08:50 -0800, subhabangalore wrote: > Dear Group, > > I am trying to learn Java and I am honored the way the expert members of > the room are kindly guiding me. > > I am trying to learn now exceptions. I am looking for a list of common > exceptions in Java and how one may debug them. > > If any one of you can kindly suggest. > If you haven't yet downloaded and installed the documentation set for your JDK, it would be a good idea to do so. The documentation set lists the Exception(s) that are thrown by all the methods in library classes: you'll find that a lot more useful than a simple list of common exceptions. It also documents all Exceptions. This tells you which package an Exception belongs to, which Exception it is a subclass of and describes any additional methods it implements. -- martin@ | Martin Gregorie gregorie. | Essex, UK org |
[toc] | [prev] | [next] | [standalone]
| From | Lew <lewbloch@gmail.com> |
|---|---|
| Date | 2013-03-02 14:50 -0800 |
| Message-ID | <b2230caf-4d27-41dd-a5f3-914aa2881f8d@googlegroups.com> |
| In reply to | #22685 |
Martin Gregorie wrote: > subhabangalore wrote: >> I am trying to learn now exceptions. I am looking for a list of common >> exceptions in Java and how one may debug them. What do you mean by "debug them"? >> If any one of you can kindly suggest. > > If you haven't yet downloaded and installed the documentation set for > your JDK, it would be a good idea to do so. > > The documentation set lists the Exception(s) that are thrown by all the > methods in library classes: you'll find that a lot more useful than a > simple list of common exceptions. It also documents all Exceptions. This > tells you which package an Exception belongs to, which Exception it is a > subclass of and describes any additional methods it implements. Also, read http://docs.oracle.com/javase/tutorial/essential/exceptions/index.html -- Lew
[toc] | [prev] | [next] | [standalone]
| From | Sven Köhler <remove-sven.koehler@gmail.com> |
|---|---|
| Date | 2013-03-03 01:16 +0100 |
| Message-ID | <apfiurF8h8oU1@mid.dfncis.de> |
| In reply to | #22684 |
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
[toc] | [prev] | [next] | [standalone]
| From | Arne Vajhøj <arne@vajhoej.dk> |
|---|---|
| Date | 2013-03-02 18:08 -0500 |
| Message-ID | <5132866a$0$286$14726298@news.sunsite.dk> |
| In reply to | #22684 |
On 3/2/2013 2:08 PM, subhabangalore@gmail.com wrote: > I am trying to learn Java and I am honored the way the expert members of the room are kindly guiding me. > > I am trying to learn now exceptions. I am looking for a list of common exceptions in Java and how one may debug them. > > If any one of you can kindly suggest. Start with: http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html and drill down through subclasses and their subclasses. Arne
[toc] | [prev] | [next] | [standalone]
| From | subhabangalore@gmail.com |
|---|---|
| Date | 2013-03-03 01:29 -0800 |
| Message-ID | <4e3c8bb7-865e-4504-a0df-c6e1717e1bf0@googlegroups.com> |
| In reply to | #22688 |
On Sunday, March 3, 2013 4:38:25 AM UTC+5:30, Arne Vajhøj wrote: > On 3/2/2013 2:08 PM, subhabangalore@gmail.com wrote: > > > I am trying to learn Java and I am honored the way the expert members of the room are kindly guiding me. > > > > > > I am trying to learn now exceptions. I am looking for a list of common exceptions in Java and how one may debug them. > > > > > > If any one of you can kindly suggest. > > > > Start with: > > > > http://docs.oracle.com/javase/7/docs/api/java/lang/Exception.html > > > > and drill down through subclasses and their subclasses. > > > > Arne Thanks. I'd check your suggestions. Regards,Subhabrata.
[toc] | [prev] | [next] | [standalone]
| From | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| Date | 2013-03-03 07:16 -0800 |
| Message-ID | <r9q6j8tav259t01cs88nskt4se7pf27btt@4ax.com> |
| In reply to | #22684 |
On Sat, 2 Mar 2013 11:08:50 -0800 (PST), subhabangalore@gmail.com wrote, quoted or indirectly quoted someone who said : >I am trying to learn now exceptions. I am looking for a list of common exceptions in Java and how one may debug them. see http://mindprod.com/jgloss/exceptions.html -- Roedy Green Canadian Mind Products http://mindprod.com One thing I love about having a website, is that when I complain about something, I only have to do it once. It saves me endless hours of grumbling.
[toc] | [prev] | [next] | [standalone]
| From | Rajiv Gupta <rajiv@invalid.com> |
|---|---|
| Date | 2013-03-04 11:41 +1100 |
| Message-ID | <kh0qj9$1k6$1@speranza.aioe.org> |
| In reply to | #22684 |
Hello, You could try ExceptionBuddy Professional Vers 2.0. You should avoid version 1.0. > Dear Group, > > I am trying to learn Java and I am honored the way the expert members > of the room are kindly guiding me. > > I am trying to learn now exceptions. I am looking for a list of common > exceptions in Java and how one may debug them. > > If any one of you can kindly suggest. > > Thanking you in Advance, > Regards, > Subhabrata.
[toc] | [prev] | [next] | [standalone]
| From | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| Date | 2013-03-04 10:16 -0800 |
| Message-ID | <t6p9j855tudhb8gb3430h947v847cqqio3@4ax.com> |
| In reply to | #22697 |
On Mon, 4 Mar 2013 11:41:14 +1100, Rajiv Gupta <rajiv@invalid.com> wrote, quoted or indirectly quoted someone who said : >You could try ExceptionBuddy Professional Vers 2.0. You should avoid >version 1.0. URL? Google has never heard of it. -- Roedy Green Canadian Mind Products http://mindprod.com One thing I love about having a website, is that when I complain about something, I only have to do it once. It saves me endless hours of grumbling.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.programmer
csiph-web