Package com.oracle.coherence.common.base
Class Assertions
- java.lang.Object
-
- com.oracle.coherence.common.base.Assertions
-
public abstract class Assertions extends Object
Class for providing assertion functionality.- Since:
- 20.06
- Author:
- cp 2000.08.02
-
-
Constructor Summary
Constructors Constructor Description Assertions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RuntimeException
azzert()
Definite assertion failure.static void
azzert(boolean f)
Test an assertion.static void
azzert(boolean f, String s)
Test an assertion, and print the specified message if the assertion fails.static void
azzertFailed(String sMsg)
Throw an assertion exception.
-
-
-
Method Detail
-
azzert
public static RuntimeException azzert()
Definite assertion failure.
-
azzert
public static void azzert(boolean f)
Test an assertion.
-
azzert
public static void azzert(boolean f, String s)
Test an assertion, and print the specified message if the assertion fails.
-
azzertFailed
public static void azzertFailed(String sMsg)
Throw an assertion exception.- Parameters:
sMsg
- the assertion message
-
-