isSkip(). Users may provide extensions to this mechanism by extending this class.
| Modifier and Type | Field and Description |
|---|---|
| private final AutoCloseableLock | |
| private volatile boolean | |
| private StackTraceElement[] | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the method should be considered a skip, false if the
method should be considered failed. If not overwritten it returns trueFlag if the current exception marks a skipped method ( |
| protected void | |
| protected void | restoreStackTrace()
Restores the original exception stack trace after a previous call to |
| internalLock | back to summary |
|---|---|
| private final AutoCloseableLock internalLock | |
| m_stackReduced | back to summary |
|---|---|
| private volatile boolean m_stackReduced | |
| m_stackTrace | back to summary |
|---|---|
| private StackTraceElement[] m_stackTrace | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| SkipException | back to summary |
|---|---|
| public SkipException(String skipMessage) | |
| SkipException | back to summary |
|---|---|
| public SkipException(String skipMessage, Throwable cause) | |
| isSkip | back to summary |
|---|---|
| public boolean isSkip() Flag if the current exception marks a skipped method (
| |
| reduceStackTrace | back to summary |
|---|---|
| protected void reduceStackTrace() Subclasses may use this method to reduce the printed stack trace. This method keeps only the last frame Important Note after calling this method the preserved internally and can be
restored called | |
| restoreStackTrace | back to summary |
|---|---|
| protected void restoreStackTrace() Restores the original exception stack trace after a previous call to | |