Class Assertions


  • public abstract class Assertions
    extends Object
    Class for providing assertion functionality.
    Since:
    20.06
    Author:
    cp 2000.08.02
    • Constructor Detail

      • Assertions

        public Assertions()
    • Method Detail

      • 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