|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.openfoundation.util.XPAssert
public class XPAssert
Provides assert functionality for Open Foundation.
Constructor Summary | |
---|---|
XPAssert()
|
Method Summary | |
---|---|
static void |
AssertArgumentNotNull(java.lang.String message,
java.lang.Object arg)
Static Method that Asserts Argument not to be null. |
static void |
AssertArgumentOutOfRange(java.lang.String message,
int lowRange,
int highRange,
int arg)
Static Method that Asserts Argument not to be Out of Range. |
static void |
AssertNull(java.lang.String message,
java.lang.Object arg)
Static Method that Asserts Argument to be null. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XPAssert()
Method Detail |
---|
public static void AssertArgumentNotNull(java.lang.String message, java.lang.Object arg)
message
- User Specified Message.arg
- Object Assertion not to be null.public static void AssertNull(java.lang.String message, java.lang.Object arg)
message
- User Specified Message.arg
- Object Assertion to be null.public static void AssertArgumentOutOfRange(java.lang.String message, int lowRange, int highRange, int arg)
message
- Assert Argument is Out Of Range.lowRange
- Assert Argument should be greater than Low RangehighRange
- Assert Argument should be less than High Rangearg
- Assert Argument.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |