at 2006-09-18
in Further reading
by friebe
(0 comments)
Found the following while scanning throught the JavaSpecialists newsletter archive:
What is the best way to deal with objects that cannot be properly instantiated?
- Ignore the problem and cause errors when you try to use the object later on
- Throw a checked exception
- Throw an IllegalArgumentException
- Throw a NullPointerException
- Throw an AssertionError
- Put in a Java 1.4 assertion
Read the full article here.
|
Subscribe
You can subscribe to the XP framework's news by using RSS syndication.
CategoriesNews General PHP5 Announcements RFCs Further reading Examples Editorial EASC Experiments Unittests Databases 5.8-SERIES Unicode Language 5.9-SERIES
RelatedFind related articles by a search for «Exceptions».
|