|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.rcp.xui.Assert
public class Assert
Assert class, when assert fail, throws AssertFailedException, this is a runtime exception.
Nested Class Summary | |
---|---|
static class |
Assert.AssertFailedException
Assert Fail Exception |
Constructor Summary | |
---|---|
Assert()
|
Method Summary | |
---|---|
static void |
isTrue(boolean expression,
java.lang.String msg)
Assert if expression is true, when assert fail, throws AssertFailedException, this is a runtime exception. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Assert()
Method Detail |
---|
public static void isTrue(boolean expression, java.lang.String msg)
expression
- the expression to be assert.msg
- exception message.
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |