public class ExceptionHasher extends Object
Constructor and Description |
---|
ExceptionHasher(Class<?> stopClass)
TODO
|
Modifier and Type | Method and Description |
---|---|
List<StackTraceElement> |
getStackTrace(Throwable t)
TODO
|
int |
hash(Throwable t)
Calculates a 16-bit hash for the specified throwable based on it's stack trace.
|
public ExceptionHasher(Class<?> stopClass)
stopClass
- TODOpublic int hash(Throwable t)
t
- The throwable to calculate the stack trace on.public List<StackTraceElement> getStackTrace(Throwable t)
t
- TODOCopyright © 2016–2020 The Apache Software Foundation. All rights reserved.