Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4487432
Votes 0
Synopsis NamingException needs to be integrated with new Throwable's getCause
Category jndi:class
Reported Against merlin-beta2
Release Fixed 1.4.2(mantis)
State 10-Fix Delivered, bug
Priority: 4-Low
Related Bugs 4209652 , 4794674
Submit Date 02-AUG-2001
Description
getCause() and initCause() need to be modified to track the same "cause"
as getRootCause() and setRootCause().  Also, printStackTrace() needs to be modified so that invocations behave consistently with other exceptions in 
the JDK that have nested exceptions.
Work Around
N/A
Evaluation
  xxxxx@xxxxx   2002-01-22

Use Throwable.getCause() to implement NamingException.getRootCause().



  xxxxx@xxxxx   2002-04-23

Actually, use NamingException.getRootCause() to implement Throwable.getCause(),
and NamingException.setRootCause() to implement Throwable.initCause().



  xxxxx@xxxxx   2002-07-22

In addition to the above, delete the overrides for printStackTrace().
Throwable.printStackTrace() has done the right thing since 1.4, so there's
no longer a reason to bypass it.
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang