Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

stack trace (java.lang.StackTraceElement)

692464Jul 20 2011 — edited Jul 20 2011
When you get a stack trace, for instance using Thread.getStackTrace method: are there any warranties regarding the particular stack frames (java.lang.StackTraceElement)?

For instance:

1. Is it guaranteed that class names (StackTraceElement.getClassName) represent classes that are already loaded?

2. What is the best way to get the relevant Class objects?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 17 2011
Added on Jul 20 2011
2 comments
197 views