Class RobotAssertionHandler
java.lang.Object
xbot.common.logging.assertion.RobotAssertionHandler
- Direct Known Subclasses:
LoudRobotAssertionHandler, SilentRobotAssertionHandler
Base class for safe assertion handlers. Allows context-based management of exceptions and assertion conditions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidassertTrue(boolean value, String assertionFailureCause) final voidprotected abstract voidabstract booleanfinal voidfinal voidthrowException(String message, Throwable cause)
-
Constructor Details
-
RobotAssertionHandler
public RobotAssertionHandler()
-
-
Method Details
-
throwException
-
throwException
-
handlePlatformException
-
isExceptionsEnabled
public abstract boolean isExceptionsEnabled() -
fail
-
assertTrue
-