public final class ExtendedStackTraceElement extends Object implements Serializable
StackTraceElement
by adding more location information.
Complements a StackTraceElement with:
sun.reflect.Reflection#getCallerClass(int)
Constructor and Description |
---|
ExtendedStackTraceElement(StackTraceElement stackTraceElement,
ExtendedClassInfo extraClassInfo) |
ExtendedStackTraceElement(String declaringClass,
String methodName,
String fileName,
int lineNumber,
boolean exact,
String location,
String version)
Called from Jackson for XML and JSON IO.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getClassName() |
boolean |
getExact() |
ExtendedClassInfo |
getExtraClassInfo() |
String |
getFileName() |
int |
getLineNumber() |
String |
getLocation() |
String |
getMethodName() |
StackTraceElement |
getStackTraceElement() |
String |
getVersion() |
int |
hashCode() |
boolean |
isNativeMethod() |
String |
toString() |
public ExtendedStackTraceElement(StackTraceElement stackTraceElement, ExtendedClassInfo extraClassInfo)
public String getClassName()
public boolean getExact()
public ExtendedClassInfo getExtraClassInfo()
public String getFileName()
public int getLineNumber()
public String getLocation()
public String getMethodName()
public StackTraceElement getStackTraceElement()
public String getVersion()
public boolean isNativeMethod()
Copyright © 1999-2021 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.