Class Assert
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 specifiedexpressionistrue. If not throw anIllegalArgumentExceptionwith the specifiedmessage.- Parameters:
expression- The expression to check.message- The exception message if theexpressionisfalse.
-
notNull
- Parameters:
object- The object to check.message- The exception message if theobjectisnull.
-