| Constructor and Description |
|---|
StackHasher()
Constructs a
StackHasher using StackElementFilter.withSourceInfo() filter |
StackHasher(StackElementFilter filter)
Constructs a
StackHasher with the given filter. |
| Modifier and Type | Method and Description |
|---|---|
String |
hexHash(Throwable error)
Generates a Hexadecimal hash for the given error stack.
|
Deque<String> |
hexHashes(Throwable error)
Generates and returns Hexadecimal hashes for the error stack and each ancestor
cause. |
public StackHasher(StackElementFilter filter)
StackHasher with the given filter.filter - filterpublic StackHasher()
StackHasher using StackElementFilter.withSourceInfo() filterpublic String hexHash(Throwable error)
Two errors with the same stack hash are most probably same errors.
error - the error to generate a hash frompublic Deque<String> hexHashes(Throwable error)
cause.
The first queue element is the stack hash for the topmost error, the next one (if any) is it's direct
cause hash, and so on...
error - the error to generate a hash fromCopyright © 2013–2021. All rights reserved.