Class SpockTimeoutError

  • All Implemented Interfaces:
    java.io.Serializable

    public class SpockTimeoutError
    extends SpockAssertionError
    Indicates that an operation timed out.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      SpockTimeoutError​(double timeout, java.lang.String message)  
      SpockTimeoutError​(double timeout, java.lang.String message, java.lang.Throwable cause)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getTimeout()
      Returns the timeout (in seconds).
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SpockTimeoutError

        public SpockTimeoutError​(double timeout,
                                 java.lang.String message)
      • SpockTimeoutError

        public SpockTimeoutError​(double timeout,
                                 java.lang.String message,
                                 java.lang.Throwable cause)
    • Method Detail

      • getTimeout

        public double getTimeout()
        Returns the timeout (in seconds).
        Returns:
        the timeout (in seconds)