public class CallerData
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CALLER_DATA_NA |
static java.lang.StackTraceElement[] |
EMPTY_CALLER_DATA_ARRAY
This value is returned in case no caller data could be extracted.
|
static int |
LINE_NA
When caller information is not available this constant is used for the line
number.
|
static java.lang.String |
NA
When caller information is not available this constant is used for file
name, method name, etc.
|
Constructor and Description |
---|
CallerData() |
Modifier and Type | Method and Description |
---|---|
static java.lang.StackTraceElement[] |
extract(java.lang.Throwable t,
java.lang.String fqnOfInvokingClass,
int maxDepth,
java.util.List<java.lang.String> frameworkPackageList)
Extract caller data information as an array based on a Throwable passed as
parameter
|
static java.lang.StackTraceElement |
naInstance()
|
public static final java.lang.String NA
public static final int LINE_NA
public static final java.lang.String CALLER_DATA_NA
public static final java.lang.StackTraceElement[] EMPTY_CALLER_DATA_ARRAY
Copyright © 2010 - 2020 Adobe. All Rights Reserved