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 Details

    • Assertions

      public Assertions()
  • Method Details

    • 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