Package com.oracle.coherence.common.base
Class Assertions
java.lang.Object
com.oracle.coherence.common.base.Assertions
Class for providing assertion functionality.
- Since:
- 20.06
- Author:
- cp 2000.08.02
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RuntimeExceptionazzert()Definite assertion failure.static voidazzert(boolean f) Test an assertion.static voidTest an assertion, and print the specified message if the assertion fails.static voidazzertFailed(String sMsg) Throw an assertion exception.
-
Constructor Details
-
Assertions
public Assertions()
-
-
Method Details
-
azzert
Definite assertion failure. -
azzert
public static void azzert(boolean f) Test an assertion. -
azzert
Test an assertion, and print the specified message if the assertion fails. -
azzertFailed
Throw an assertion exception.- Parameters:
sMsg- the assertion message
-