StackTraceElement

extern class java.lang.StackTraceElementimplements SerializableAvailable in java function new( param1 : String, param2 : String, param3 : String, param4 : Int ) : Void function equals( param1 : Dynamic ) : BoolReturns true if the specified object is another {@code StackTraceElement} instance representing the same execution point as this instance. Two stack trace elements {@code a} and {@code b} are equal if and only if: <pre> equals(a.getFileName(), b.getFileName()) && a.getLineNumber() == b.getLineNumber()) && equals(a.getClassName(), b.getClassName()) && equals(a.getMethodName(), b.getMethodName()) </pre> where {@code equals} has the semantics of {@link java.util.Objects#equals(Object, Object) Objects.equals}.
param  obj the object to be compared with this stack trace element. return true if the specified object is another {@code StackTraceElement} instance representing the same execution point as this instance.
function getClassName() : String function getFileName() : String function getLineNumber() : Int function getMethodName() : String function hashCode() : IntReturns a hash code value for this stack trace element. function isNativeMethod() : Bool function toString() : StringReturns a string representation of this stack trace element. The format of this string depends on the implementation, but the following examples may be regarded as typical: <ul> <li> {@code "MyClass.mash(MyClass.java:9)"} - Here, {@code "MyClass"} is the <i>fully-qualified name</i> of the class containing the execution point represented by this stack trace element, {@code "mash"} is the name of the method containing the execution point, {@code "MyClass.java"} is the source file containing the execution point, and {@code "9"} is the line number of the source line containing the execution point. <li> {@code "MyClass.mash(MyClass.java)"} - As above, but the line number is unavailable. <li> {@code "MyClass.mash(Unknown Source)"} - As above, but neither the file name nor the line number are available. <li> {@code "MyClass.mash(Native Method)"} - As above, but neither the file name nor the line number are available, and the method containing the execution point is known to be a native method. </ul> @see Throwable#printStackTrace()
version #18665, modified 2013-05-08 10:55:33 by api
0 comment