Class JavaScriptTemplateTimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.mockserver.templates.engine.javascript.JavaScriptTemplateTimeoutException
- All Implemented Interfaces:
Serializable
Thrown when a JavaScript response template is cancelled because it ran longer than the configured
mockserver.javascriptTemplateExecutionTimeout. Surfaced (wrapped) by
JavaScriptTemplateEngine so a runaway or malicious template fails fast with a clear error
instead of pinning a data-plane worker thread indefinitely.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JavaScriptTemplateTimeoutException
-