public class StackTraceUtils extends Object
Constructor and Description |
---|
StackTraceUtils() |
Modifier and Type | Method and Description |
---|---|
static int |
hash(Throwable t,
String stopClass)
Calculates a 16-bit hash for the specified throwable based on it's stack trace.
|
public StackTraceUtils()
public static int hash(Throwable t, String stopClass)
t
- The throwable to calculate the stack trace on.stopClass
- Optional stop class on which to stop calculation of a stack trace beyond when found.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.