🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Throws

#17217
From: Shahid Juma
Date: Thu, 03 Dec 1998 00:00
12 lines
699 bytes
Hello,

    How do you throw an exception such as EmptyStackException?  Do you
do something like this:

public Object test (Object d) throws EmptyStackException {
}

I tried that and it doesn't do it.

Thanks
Shahid
Technical Details
Message-ID: <3666FA68.1AE15DBC@interlog.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,32517523289d282,start
X-Google-Attributes: gidf74b3,public
From: Shahid Juma <shahidj@interlog.com>
Subject: Throws
Date: 1998/12/03
Message-ID: <3666FA68.1AE15DBC@interlog.com>
X-Deja-AN: 418307676
Content-Transfer-Encoding: 7bit
Organization: Another Netscape Collabra Server User
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language