Package com.microsoft.playwright
Class PlaywrightException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.microsoft.playwright.PlaywrightException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TimeoutError
public class PlaywrightException extends RuntimeException
PlaywrightException is thrown whenever certain operations are terminated abnormally, e.g. browser closes whilePage.evaluate()
is running. All Playwright exceptions inherit from this class.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PlaywrightException(String message)
PlaywrightException(String message, Throwable cause)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-