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
-
Method Summary
Modifier and TypeMethodDescriptionstatic RuntimeException
azzert()
Definite assertion failure.static void
azzert
(boolean f) Test an assertion.static void
Test an assertion, and print the specified message if the assertion fails.static void
azzertFailed
(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
-