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