Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!nx01.iad01.newshosting.com!newshosting.com!news-out.readnews.com!transit3.readnews.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail From: Lew Newsgroups: comp.lang.java.programmer Subject: Re: Why can't I downcast in the following code Date: Sun, 23 Oct 2011 23:19:22 -0700 (PDT) Organization: http://groups.google.com Lines: 7 Message-ID: <224194.2272.1319437162135.JavaMail.geo-discussion-forums@yqgn17> References: <2196c265-94c4-4fcb-beb5-ddf3a7135da8@l10g2000pra.googlegroups.com> <6963560.1010.1319437079999.JavaMail.geo-discussion-forums@yqgd7> Reply-To: comp.lang.java.programmer@googlegroups.com NNTP-Posting-Host: 72.14.225.65 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1319437162 20902 127.0.0.1 (24 Oct 2011 06:19:22 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 24 Oct 2011 06:19:22 +0000 (UTC) In-Reply-To: <6963560.1010.1319437079999.JavaMail.geo-discussion-forums@yqgd7> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=72.14.225.65; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T User-Agent: G2/1.0 X-Google-Web-Client: true Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:9139 Lew wrote: > And by the way, you don't get an error for that, you get an exception for that. Oops, I'm wrong. That one is an error. -- Lew