Assert a bool expression, throwing {@code IllegalStateException} if
the test result is {@code false}. Call isTrue if you wish to throw
IllegalArgumentException on an assertion failure.
<pre class="code">
Assert.state(id is null, "The id property must not already be initialized");
</pre>
@param expression
a bool expression
@param message
the exception message to use if the assertion fails
@throws IllegalStateException
if expression is {@code false}
Assert a bool expression, throwing {@code IllegalStateException} if the test result is {@code false}. Call isTrue if you wish to throw IllegalArgumentException on an assertion failure.
<pre class="code"> Assert.state(id is null, "The id property must not already be initialized"); </pre>
@param expression a bool expression @param message the exception message to use if the assertion fails @throws IllegalStateException if expression is {@code false}