🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #14816

Re: Try with no catch.

#14816
From: Tor Iver Wilhelmsen
Date: Thu, 05 Aug 1999 00:00
14 lines
780 bytes
"Hugo Ferreira" <HugoF@cocaina.inescn.pt> writes:

> Hi,
> 
> Simple question: Is a try and finally block allowed with no catch block.

Yes.

> Class clss = X.class
> 
> java complained.

Your class X doesn't seem to be declared public - did you try to
access the .class field from a class in a different package?
Technical Details
Message-ID: <uaes6g1po.fsf@sds.no>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7o9m0l$p122@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,664c3a7a9c471a
X-Google-Attributes: gidf74b3,public
From: Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no>
Subject: Re: Try with no catch.
Date: 1999/08/05
Message-ID: <uaes6g1po.fsf@sds.no>
X-Deja-AN: 509083176
Sender: towi@SDSA1761
References: <7o9m0l$p122@forums.borland.com>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.jbuilder.java.language