This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 32959

Summary: Use 1.4 StackTraceElements and better UI for internal exceptions and internal execution
Product: platform Reporter: _ tboudreau <tboudreau>
Component: -- Other --Assignee: issues@platform <issues>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description _ tboudreau 2003-04-16 18:00:13 UTC
Exceptions in 1.4 include a method 
StackTraceElement[] getStackTrace

Rather than post and parse the stack trace, any
exception 
internal to the IDE's JVM could be handled using this
method - less work, faster, and opportunities for
a much
nicer UI.

This is also useful for logging calls to
deprecated methods
and such, e.g.

public void myDeprecatedMethod () {
    Exception e = new Exception();
    try { throw e } catch (Exception e) {}
    StackTraceElement caller = e.getStackTrace()[1];
    //output the warning, plus the class and line
number of
    //the caller
}
Comment 1 _ tboudreau 2005-09-20 21:11:32 UTC
Internal execution is dead