public class SkipException
extends java.lang.RuntimeException
isSkip()
.
Users may provide extensions to this mechanism by extending this class.Modifier and Type | Field and Description |
---|---|
private boolean |
m_stackReduced |
private java.lang.StackTraceElement[] |
m_stackTrace |
private static long |
serialVersionUID |
Constructor and Description |
---|
SkipException(java.lang.String skipMessage) |
SkipException(java.lang.String skipMessage,
java.lang.Throwable cause) |
Modifier and Type | Method and 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() . |
private static final long serialVersionUID
private java.lang.StackTraceElement[] m_stackTrace
private volatile boolean m_stackReduced
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()
.