drools-eclipse/org.guvnor.eclipse.webdav/src/kernel/org/eclipse/webdav/internal/kernel/utils/Assert.java
static public boolean isTrue(boolean expression, String message) {
        if (!expression)
            throw new AssertionFailedException(Policy.bind("assert.fail", message)); //$NON-NLS-1$
        return expression;
    }
static public boolean isTrue(boolean expression, String message) {
        if (!expression)
            throw new AssertionFailedException(Policy.bind("assert.fail", message)); //$NON-NLS-1$
        return expression;
    }
static public boolean isTrue ( boolean expression , String message ) { if ( ! expression ) throw new AssertionFailedException ( Policy . bind ( "assert.fail" , message ) ) ; //$NON-NLS-1$ return expression ; }
Asserts that the given boolean is <code>true</code>. If this
is not the case, some kind of unchecked exception is thrown.
The given message is included in that exception, to aid debugging.
Asserts that the given boolean is <code > true< / code > . If this is not the case some kind of unchecked exception is thrown . The given message is included in that exception to aid debugging .