Package groovy.util.regex

# Class RegexTimeoutException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
groovy.util.regex.RegexTimeoutException

All Implemented Interfaces:
  `Serializable`

@Incubating public class RegexTimeoutException extends RuntimeException
Thrown when a regular expression evaluation guarded by `RegexGuard` exceeds its configured deadline. Being unchecked, it distinguishes a timed-out evaluation (which says nothing about whether the input matches) from an ordinary non-match result.

Since:
  6.0.0
See Also:
  - `RegexGuard`
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `RegexTimeoutException(String message)`

- ## Method Summary

  ### Methods inherited from class java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### RegexTimeoutException

    public RegexTimeoutException(String message)