Creates a stack trace element representing the specified execution
point. The module name and module version of the stack trace element will
be null.
declaringClass | the fully qualified name of the class containing the execution point represented by the stack trace element | |
methodName | the name of the method containing the execution point represented by the stack trace element | |
fileName | the name of the file containing the execution point
represented by the stack trace element, or null if
this information is unavailable | |
lineNumber | the line number of the source line containing the execution point represented by this stack trace element, or a negative number if this information is unavailable. A value of -2 indicates that the method containing the execution point is a native method |
NullPointerException | if declaringClass or
methodName is null |
@revised 9
@spec JPMS
Diagram: Exception Support