public final class UtilException extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
toString(Throwable exception,
Boolean fullTrace)
Dump exception trace to a string.
|
static Throwable |
unwrapException(Throwable error)
Unwrap SpecRunner subclasses exception to find root cause.
|
static Throwable |
unwrapPresentation(Throwable error)
Unwrap SpecRunner IPresentation to find root cause.
|
public static String toString(Throwable exception, Boolean fullTrace)
exception - The exception.fullTrace - Full trace flag.public static Throwable unwrapException(Throwable error)
error - The error.Copyright © 2016. All rights reserved.