Package com.github.ngoanh2n.wdc
Class CheckerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.github.ngoanh2n.RuntimeError
com.github.ngoanh2n.wdc.CheckerException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CheckerException.ClosedDriver
,CheckerException.ClosedDriverProvided
,CheckerException.NoneDriver
,CheckerException.NullDriverPassed
,CheckerException.NullDriverProvided
public class CheckerException
extends com.github.ngoanh2n.RuntimeError
Runtime exception for
Repository:
WebDriverChecker
.Repository:
- GitHub: ngoanh2n/webdriverchecker
- Maven: com.github.ngoanh2n:webdriverchecker
- Since:
- 2020
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Runtime exception when the foundWebDriver
is closed.static final class
Runtime exception when the providedWebDriver
is closed.static final class
Runtime exception whenWebDriverChecker
could not detect anyWebDriver
viaWebDriverProvider.provide()
orWebDriverChecker.is(WebDriverChecker, WebDriver...)
.static final class
Runtime exception when you have passed a nullWebDriver
viaWebDriverChecker.is(WebDriverChecker, WebDriver...)
.static final class
-
Constructor Summary
ConstructorsConstructorDescriptionCheckerException
(String message) Construct a newCheckerException
with the specified detail message.CheckerException
(String message, Throwable cause) Construct a newCheckerException
with the specified detail message and cause.CheckerException
(Throwable cause) Construct a newCheckerException
with the specified cause and a detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CheckerException
Construct a newCheckerException
with the specified detail message.- Parameters:
message
- The detail message, is saved for later retrieval by theThrowable.getMessage()
method.
-
CheckerException
Construct a newCheckerException
with the specified cause and a detail message.- Parameters:
cause
- The cause (which is saved for later retrieval by theThrowable.getCause()
method). (Anull
value is permitted, and indicates that the cause is nonexistent or unknown).
-
CheckerException
Construct a newCheckerException
with the specified detail message and cause.- Parameters:
message
- The detail message (which is saved for later retrieval by theThrowable.getMessage()
method).cause
- the cause (which is saved for later retrieval by theThrowable.getCause()
method). (Anull
value is permitted, and indicates that the cause is nonexistent or unknown.)
-