Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #18728
| Received | by 10.66.82.37 with SMTP id f5mr496819pay.17.1347517067764; Wed, 12 Sep 2012 23:17:47 -0700 (PDT) |
|---|---|
| Received | by 10.68.134.129 with SMTP id pk1mr274733pbb.13.1347517067748; Wed, 12 Sep 2012 23:17:47 -0700 (PDT) |
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!nntp.club.cc.cmu.edu!169.228.66.3.MISMATCH!ihnp4.UCSD.Edu!newsfeed.news.ucla.edu!usenet.stanford.edu!4no5638068pbn.1!news-out.google.com!t10ni4303pbh.0!nntp.google.com!r4no5637827pbs.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.lang.java.programmer |
| Date | Wed, 12 Sep 2012 23:17:47 -0700 (PDT) |
| In-Reply-To | <k2rreo$hqj$1@dont-email.me> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=173.164.137.214; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T |
| NNTP-Posting-Host | 173.164.137.214 |
| References | <k2pe2b$lp4$1@dont-email.me> <m3pq5r4e18.fsf@ipa.eternal-september.org> <k2rreo$hqj$1@dont-email.me> |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <127f013d-c689-47f9-bb69-4e558d072d61@googlegroups.com> (permalink) |
| Subject | Re: can't return value |
| From | Lew <lewbloch@gmail.com> |
| Injection-Date | Thu, 13 Sep 2012 06:17:47 +0000 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Xref | csiph.com comp.lang.java.programmer:18728 |
Show key headers only | View raw
bilsch wrote: > OK. Now I see what Jukka meant by initializing to NULL. But I don't > know what exception to throw for 'misssing return statement'. Also I > don't know how to put it in. That's a meaningless request. You can't throw an exception if the program cannot run, or even compile. Once you fix the compilation error, you won't be missing a 'return'. And there are no 'RETURN' statements in Java. If you read the Java tutorials on the Oracle site, they explain the basics of Java syntax and what constitutes a legal Java program. -- Lew
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
can't return value "bilsch" <king621@comcast.net> - 2012-09-12 00:36 -0700
Re: can't return value Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-09-12 07:11 -0400
Re: can't return value bilsch <bilsch01@gmail.com> - 2012-09-12 22:15 -0700
Re: can't return value Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-09-13 08:53 -0400
Re: can't return value Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> - 2012-09-12 15:32 +0300
Re: can't return value bilsch <bilsch01@gmail.com> - 2012-09-12 22:37 -0700
Re: can't return value Lew <lewbloch@gmail.com> - 2012-09-12 23:17 -0700
Re: can't return value markspace <-@.> - 2012-09-13 01:11 -0700
Re: can't return value Lew <lewbloch@gmail.com> - 2012-09-13 10:53 -0700
Re: can't return value Stuart <DerTopper@web.de> - 2012-09-13 09:45 +0200
Re: can't return value "bilsch" <king621@comcast.net> - 2012-09-13 03:55 -0700
Re: can't return value Jukka Lahtinen <jtfjdehf@hotmail.com.invalid> - 2012-09-13 15:06 +0300
Re: can't return value Stuart <DerTopper@web.de> - 2012-09-13 20:53 +0200
Re: can't return value Roedy Green <see_website@mindprod.com.invalid> - 2012-09-12 20:54 -0700
csiph-web