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 - Use 1.4 StackTraceElements and better UI for internal exceptions and internal execution
Summary: Use 1.4 StackTraceElements and better UI for internal exceptions and internal...
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-16 18:00 UTC by _ tboudreau
Modified: 2008-12-22 18:44 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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