jxl.common
public final class: Assert [javadoc |
source]
java.lang.Object
jxl.common.Assert
Simple assertion mechanism for use during development
Methods from java.lang.Object: |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from jxl.common.Assert Detail: |
public static void verify(boolean condition) {
if (!condition)
{
throw new AssertionFailed();
}
}
Throws an AssertionFailed exception if the specified condition is
false |
public static void verify(boolean condition,
String message) {
if (!condition)
{
throw new AssertionFailed(message);
}
}
If the condition evaluates to false, an AssertionFailed is thrown |