Article View: borland.public.jbuilder.java.language
Article #19494Re: showDocument
From: Rich Wilkman
Date: Thu, 29 Jan 1998 00:00
Date: Thu, 29 Jan 1998 00:00
44 lines
1561 bytes
1561 bytes
Keith:
The creation of a URL must be inside a try-catch block, that's the
first one.
What's the "this" object you are assuming has a showDocument() method
attached?
-Rich
Keith Janke wrote:
>
> My code looks like this:
>
> showDocument(new URL("http://166.42.146.60/woman/woman.html"));
>
> I am getting the following compile errors
>
> unreported exception: java.net.MalformedURLException; must be caught or
> declared to be thrown.
>
> method showDocument(java.net.URL) not found in class Bean.Toolbar
>
> Any ideas?
>
> TIA,
>
> Keith Janke
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rich Wilkman
Senior Quality Assurance Engineer
Borland JBuilder Team
If you see something that looks like an opinion up there,
it's mine and mine alone.
Mail sent to me from the newsgroups won't bounce but will
be ignored. If I have time, I'll respond, but you have
a better chance if you confine your posts to the newsgroups
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID:
<34D117EB.D28455C6@corp.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<01bd2cf7$2f0eb840$04922aa6@rav05255>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,4eb511209264fb89 X-Google-Attributes: gidf74b3,public From: Rich Wilkman <rwilkman@corp.borland.com> Subject: Re: showDocument Date: 1998/01/29 Message-ID: <34D117EB.D28455C6@corp.borland.com> X-Deja-AN: 320414822 Content-Transfer-Encoding: 7bit References: <01bd2cf7$2f0eb840$04922aa6@rav05255> Content-Type: text/plain; charset=us-ascii Organization: None Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language