public class StackTraceUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isFrameContainingXBeforeFrameContainingY(String firstClass,
String secondClass,
StackTraceElement[] stackTrace)
Traverses the stack trace element array looking for instances that contain the first or second
Strings in the className property.
|
public static boolean isFrameContainingXBeforeFrameContainingY(String firstClass, String secondClass, StackTraceElement[] stackTrace)
firstClass - The first class to look for.secondClass - The second class to look for.stackTrace - The stack trace.IllegalArgumentException - if neither class is found.