public class CallerData extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CALLER_DATA_NA |
static 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 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 StackTraceElement[] |
extract(Throwable t,
String fqnOfInvokingClass,
int maxDepth,
List<String> frameworkPackageList)
Extract caller data information as an array based on a Throwable passed as
parameter
|
static StackTraceElement |
naInstance()
|
public static final String NA
public static final int LINE_NA
public static final String CALLER_DATA_NA
public static final StackTraceElement[] EMPTY_CALLER_DATA_ARRAY
public static StackTraceElement[] extract(Throwable t, String fqnOfInvokingClass, int maxDepth, List<String> frameworkPackageList)
public static StackTraceElement naInstance()
NA and line number is set to LINE_NA.Copyright © 2005–2014 QOS.ch. All rights reserved.