java.lang.Object
org.joox.selector.Assert
Assertion utility methods.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Assert
private Assert()Private CTOR.
-
-
Method Details
-
isTrue
Check if the specifiedexpression
istrue
. If not throw anIllegalArgumentException
with the specifiedmessage
.- Parameters:
expression
- The expression to check.message
- The exception message if theexpression
isfalse
.
-
notNull
- Parameters:
object
- The object to check.message
- The exception message if theobject
isnull
.
-