classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Declaring RuntimeExceptions?


From: Sascha Brawer
Subject: Declaring RuntimeExceptions?
Date: Thu, 11 Sep 2003 14:14:44 +0200

Hi all,

if the signature of a JDK method declares to throw some RuntimeException,
should the Classpath do so, too?

For example, java.awt.Toolkit.createButton declares to throw
java.awt.HeadlessException in the JDK, but not in Classpath.
HeadlessException extends java.lang.RuntimeException.

-- Sascha

Sascha Brawer, address@hidden, http://www.dandelis.ch/people/brawer/ 







reply via email to

[Prev in Thread] Current Thread [Next in Thread]