TimeBombSkipExceptionpublic class SkipException
extends java.lang.RuntimeException
isSkip().
Users may provide extensions to this mechanism by extending this class.| Constructor | Description |
|---|---|
SkipException(java.lang.String skipMessage) |
|
SkipException(java.lang.String skipMessage,
java.lang.Throwable cause) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
isSkip() |
Flag if the current exception marks a skipped method (true)
or a failure (false).
|
protected void |
reduceStackTrace() |
Subclasses may use this method to reduce the printed stack trace.
|
protected void |
restoreStackTrace() |
Restores the original exception stack trace after a
previous call to
reduceStackTrace(). |
public SkipException(java.lang.String skipMessage)
public SkipException(java.lang.String skipMessage,
java.lang.Throwable cause)
public boolean isSkip()
protected void reduceStackTrace()
restoreStackTrace().protected void restoreStackTrace()
reduceStackTrace().