Package org.spockframework.runtime
Class SpockTimeoutError
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.AssertionError
org.spockframework.runtime.SpockAssertionError
org.spockframework.runtime.SpockTimeoutError
- All Implemented Interfaces:
Serializable
Indicates that an operation timed out.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSpockTimeoutError
(double timeout, String message) SpockTimeoutError
(double timeout, String message, Throwable cause) -
Method Summary
Methods inherited from class org.spockframework.runtime.SpockAssertionError
toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
SpockTimeoutError
-
SpockTimeoutError
-
-
Method Details
-
getTimeout
public double getTimeout()Returns the timeout (in seconds).- Returns:
- the timeout (in seconds)
-