Modifier and Type | Field and Description |
---|---|
protected CodeBlockTrace |
context |
protected long |
creationTimeMillis |
protected StackTraceElement[] |
stackTrace |
Constructor and Description |
---|
StackTrace(StackTraceElement[] stackTrace,
CodeBlockTrace context) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
eq(Object a,
Object b) |
boolean |
equals(StackTrace other) |
protected boolean |
equals(StackTraceElement e1,
StackTraceElement e2) |
StackTraceElement |
first() |
StackTraceElement[] |
from(int begin,
int length) |
StackTraceElement |
get(int index) |
CodeBlockTrace |
getContext() |
long |
getCreationTimeMillis() |
protected StackTrace |
intersect(StackTrace other)
Intersect two stack traces.
|
StackTraceElement |
last() |
int |
length() |
static String |
printStackElement(StackTraceElement e,
int maxLength) |
String |
printStackTrace() |
protected int |
reverseIndex(int index) |
void |
setContext(CodeBlockTrace context) |
protected long creationTimeMillis
protected StackTraceElement[] stackTrace
protected CodeBlockTrace context
public StackTrace(StackTraceElement[] stackTrace, CodeBlockTrace context)
public boolean equals(StackTrace other)
public CodeBlockTrace getContext()
public void setContext(CodeBlockTrace context)
public long getCreationTimeMillis()
public int length()
public StackTraceElement get(int index)
public StackTraceElement last()
public StackTraceElement first()
public StackTraceElement[] from(int begin, int length)
protected int reverseIndex(int index)
protected StackTrace intersect(StackTrace other)
A B C D E F G H I J K L M N
A B C D E F G H 1 2 3 4 5 6 7 8 9 0
A B C D E F G H I J K L M N
A B C D E F G H 1 2 3 4 5 6
protected boolean equals(StackTraceElement e1, StackTraceElement e2)
public String printStackTrace()
public static String printStackElement(StackTraceElement e, int maxLength)
Copyright © 2012–2017 JBoss by Red Hat. All rights reserved.