Package org.htmlunit.javascript
Class TimeoutError
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Error
-
- org.htmlunit.javascript.TimeoutError
-
- All Implemented Interfaces:
java.io.Serializable
public class TimeoutError extends java.lang.Error
An error that is thrown when a script has been running too long.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private long
allowedTime_
private long
executionTime_
-
Constructor Summary
Constructors Constructor Description TimeoutError(long allowedTime, long executionTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) long
getAllowedTime()
Returns the allowed time.(package private) long
getExecutionTime()
Returns the execution time.
-